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

Remove WT_SESSION.rebalance

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT10.0.0, 4.4.2, 4.8.0
    • Component/s: None
    • Labels:
      None

      Description

      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));
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: