clsm_open_cursors() set incorrct chunk->count

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.6.0-rc0, WT3.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage 2017-10-02
    • None

      Please check
      https://github.com/wiredtiger/wiredtiger/blob/master/src/lsm/lsm_cursor.c#L677

      clsm->chunks[i]->count = lsm_tree->chunk[i]->count;
      

      should be

       
      clsm->chunks[i]->count = lsm_tree->chunk[start_chunk + i]->count;
      

              Assignee:
              Sulabh Mahajan
              Reporter:
              keguang xu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: