torwig opened a new pull request, #1401:
URL: https://github.com/apache/incubator-kvrocks/pull/1401

   The bug was reproducible with RocksDB v8.0.0, large values in a hash set 
(>512 bytes). 
   After the COMPACT command was executed, HGETALL/HVALS/HKEYS couldn't "see" 
all the elements of the hash set. However, HGET could find those values. 
   It looked like the iterator via the snapshot didn't see them for some 
reason. 
   Since the version of the RocksDB was bumped to v8.0.1, the bug disappeared.
   
   Adding the test case to prevent facing this bug in the future.
   
   This is the output of the failed test:
   
   ```
   --- FAIL: TestHashWithAsyncIOEnabled (6.10s)
       --- FAIL: 
TestHashWithAsyncIOEnabled/Test_rare_bug_with_large_value_after_compaction 
(5.03s)
           hash_test.go:1587: 
                Error Trace:    
/home/yaroslav/programming/kvrocks/tests/gocase/unit/type/hash/hash_test.go:1587
                Error:          Not equal: 
                                expected: 50
                                actual  : 2
                Test:           
TestHashWithAsyncIOEnabled/Test_rare_bug_with_large_value_after_compaction
   FAIL
   exit status 1
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to