Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-5534

keys failing to persist to disk with state "ram_but_not_disk" during rebalance

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 2.0
    • 2.0
    • Security Level: Public
    • None
    • 2.0.0-1314-rel

    Description

      in viewquerytests.ViewQueryTests.test_employee_dataset_startkey_endkey_queries_rebalance_in

      Load 200k docs
      Add+Rebalance 6 nodes to cluster while running queries

      Looks like what happens is the keys being moved to new servers are not always being persisted to disk.

      ...from test log's we report when key a did not persist and cannot be indexed by view-engine.

      ["query doc_id: admin0150-2008_12_27 doesn\'t exist in bucket: default", "Error expected in results for key with invalid state

      {\'key_vb_state\': \'active\', \'key_last_modification_time\': \'1339537159\', \'key_data_age\': \'0\', \'key_cas\': \'7680066560307527\', \'key_exptime\': \'0\', \'key_is_dirty\': \'0\', \'key_flags\': \'0\', \'key_valid\': \'ram_but_not_disk\'}

      ",

      There should be plenty of time to allow this as we retry the query several times and no new docs are being loaded/updated during the rebalance.

      diags attached.

      Attachments

        1. 10.2.2.108-8091-diag.txt.gz
          555 kB
        2. 10.2.2.109-8091-diag.txt.gz
          1.69 MB
        3. 10.2.2.60-8091-diag.txt.gz
          1.43 MB
        4. 10.2.2.63-8091-diag.txt.gz
          1.68 MB
        5. 10.2.2.64-8091-diag.txt.gz
          562 kB
        6. 10.2.2.65-8091-diag.txt.gz
          559 kB
        7. 10.2.2.67-8091-diag.txt.gz
          567 kB
        8. finddoc.pl
          0.9 kB
        9. get_key_meta.py
          0.8 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jin Jin Lim (Inactive)
            tommie Tommie McAfee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty