Uploaded image for project: 'Java Couchbase JVM Core'
  1. Java Couchbase JVM Core
  2. JVMCBC-663

[durability]SDK is not able to insert the document after several retries attempt.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • None
    • Services
    • 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

        1. javasdk_no_reconnect
          76 kB
        2. javasdk_no_reconnect.pcapng
          547 kB
        3. javasdk_reconnect
          101 kB
        4. javasdk_reconnect.pcapng
          545 kB

        Issue Links

          For Gerrit Dashboard: JVMCBC-663
          # Subject Branch Project Status CR V

          Activity

            People

              ritesh.agarwal Ritesh Agarwal
              ritesh.agarwal Ritesh Agarwal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty