Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
3.0.0-alpha3
Description
It is a sequence of 3 inserts across 3 different tests and each test inserts with different durability level while memcahced is stopped on the replica.
In each tests we do:
1. Add a doc
2. Stop memcahced
3. Do a durable SET
4. Read old value
5. Resume memcached
6. Durable SET is step 3 should succeed
Every such test runs with:
1. DurabilityLevel.MAJORITY
2. DurabilityLevel.MAJORITY_AND_PERSIST_ON_MASTER,
3. DurabilityLevel.PERSIST_TO_MAJORITY
Now, when i run the tests by creating the sdk connection only once in the beginning then for the 3rd test which is "DurabilityLevel.PERSIST_TO_MAJORITY" SDK is not able to insert the document after number of retries.
BUT, when we re-create sdk connection in each test it works fine.
Attaching the console(tests logs + java sdk logs) and pcaps for the above 2 runs.
Server logs:
https://s3.amazonaws.com/bugdb/jira/javasdk_insert/collectinfo-2019-05-02T061457-ns_1%4010.112.180.103.zip
https://s3.amazonaws.com/bugdb/jira/javasdk_insert/collectinfo-2019-05-02T061457-ns_1%4010.112.180.104.zip
Attachments
Issue Links
- depends on
-
MB-35094 com.couchbase.client.core.error.TemporaryLockFailureException is observed on reading doc while memcached on replica is stopped.
- Closed