[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: |
|
| 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 |