Uploaded image for project: 'Couchbase Ruby client library'
  1. Couchbase Ruby client library
  2. RCBC-104

Data corruption on intensive get/set

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • None
    • None
    • None
    • Security Level: Public
    • None

    Description

      The script attached produces the following output:

      ~ $ ruby corrupt.rb
      corrupt.rb:8:in `get': unable to convert value for key 'mm_71': lexical error: invalid char in json text. (Couchbase::Error::ValueFormat)
       2 (right here) ------^
      from corrupt.rb:8:in `block (3 levels) in <main>'
      from corrupt.rb:6:in `times'
      from corrupt.rb:6:in `block (2 levels) in <main>'
      from corrupt.rb:4:in `fork'
      from corrupt.rb:4:in `block in <main>'
      from corrupt.rb:3:in `times'
      from corrupt.rb:3:in `<main>'
      corrupt.rb:8:in `get': unable to convert value for key 'mm_71': lexical error: invalid char in json text. (Couchbase::Error::ValueFormat)
       2 (right here) ------^
      Process from corrupt.rb:8:in `block (3 levels) in <main>'
      from corrupt.rb:6:in `times'
      from corrupt.rb:6:in `block (2 levels) in <main>'
      from corrupt.rb:4:in `fork'
      from corrupt.rb:4:in `block in <main>'
      from corrupt.rb:3:in `times'
      from corrupt.rb:3:in `<main>'
      corrupt.rb:8:in `get': unable to convert value for key 'mm_71': lexical error: invalid char in json text. (Couchbase::Error::ValueFormat)
       2 (right here) ------^
      from corrupt.rb:8:in `block (3 levels) in <main>'
      from corrupt.rb:6:in `times'
      from corrupt.rb:6:in `block (2 levels) in <main>'
      from corrupt.rb:4:in `fork'
      from corrupt.rb:4:in `block in <main>'
      from corrupt.rb:3:in `times'
      from corrupt.rb:3:in `<main>'
      corrupt.rb:8:in `get': unable to convert value for key 'mm_71': lexical error: invalid char in json text. (Couchbase::Error::ValueFormat)
       2 (right here) ------^
      from corrupt.rb:8:in `block (3 levels) in <main>'
      from corrupt.rb:6:in `times'
      from corrupt.rb:6:in `block (2 levels) in <main>'
      from corrupt.rb:4:in `fork'
      from corrupt.rb:4:in `block in <main>'
      from corrupt.rb:3:in `times'
      from corrupt.rb:3:in `<main>'

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            avsej Sergey Avseyev
            avsej Sergey Avseyev
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty