Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-6410

Remove WT_SESSION.rebalance

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.4.2, 4.8.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 5
    • Storage - Ra 2020-10-05

      When working on WT-6263 to set stable timestamp in test format, rebalance starts to return ebusy because it can't do the checkpoint with stable timestamp.

          /*
           * Don't flush data from modified trees independent of system-wide checkpoint when either there
           * is a stable timestamp set or the connection is configured to disallow such operation.
           * Flushing trees can lead to files that are inconsistent on disk after a crash.
           */
          if (btree->modified && !bulk && !__wt_btree_immediately_durable(session) &&
            (S2C(session)->txn_global.has_stable_timestamp ||
                (!F_ISSET(S2C(session), WT_CONN_FILE_CLOSE_SYNC) && !metadata)))
              return (__wt_set_return(session, EBUSY));
      

            Assignee:
            haribabu.kommi@mongodb.com Haribabu Kommi
            Reporter:
            chenhao.qu@mongodb.com Chenhao Qu
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: