Improve background compaction error when processing a newer signal while one is pending

XMLWordPrintableJSON

    • Storage Engines
    • StorEng - 2025-01-21
    • 2

      Here, we should indicate why we are returning EBUSY:

          /* Wait for any previous signal to be processed first. */
          __wt_spin_lock(session, &conn->background_compact.lock);
          if (conn->background_compact.signalled) {
              ret = EBUSY;
              goto err;
          }
      

              Assignee:
              Etienne Petrel
              Reporter:
              Etienne Petrel
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: