[RCBC-104] Data corruption on intensive get/set Created: 20/Dec/12  Updated: 08/Feb/13  Resolved: 20/Dec/12

Status: Closed
Project: Couchbase Ruby client library
Component/s: None
Affects Version/s: None
Fix Version/s: None
Security Level: Public

Type: Bug Priority: Critical
Reporter: Sergey Avseyev Assignee: Sergey Avseyev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File corrupt.rb    

 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>'


 Comments   
Comment by Sergey Avseyev [ 20/Dec/12 ]
Fixed http://review.couchbase.org/23462
Generated at Tue Sep 02 16:42:06 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.