Missing record when we try to read all records from DB #7010
Unanswered
Santhoshbesagarahalli
asked this question in
Q&A
Replies: 2 comments 2 replies
-
We are using NATS Server Version: 2.11.4 for testing. please check this issue and comment |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm assuming your KV/stream is replicated (i.e. has 3 replicas for example), and you expect to do a write using Then this issue would be related: #6557 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We have observed issue with NATS Server Version: 2.11.4, where one of the record will be missing when we try to read all records from KV store. And this happens when other thread or application is trying to update the existing record to the same KV store.
Below is the code snapshot which we had used to reproduce the issue. i.e. we have added 100 records to KV store and trying to read all records from DB using kvStore_Keys or kvStore_Watch. Using another thread, we are trying to update the one of the record in the same DB. Some time we see one of the record (i.e. the record with the key which is getting updated) will be missing in the output of kvStore_Keys or kvStore_Watch operation.
db_read.txt
Can you please help us to root cause why one the record will be missing during get operations (i.e. kvStore_Keys or kvStore_Watch), even though record is present in the DB.
Beta Was this translation helpful? Give feedback.
All reactions