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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Security Level: Public
    • Labels:
      None
    • Environment:
      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.

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

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes