Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-27670

Add more user-friendly error message for EBUSY returns from WiredTiger

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.5.5
    • Affects Version/s: None
    • Component/s: Storage, WiredTiger
    • Labels:
      None
    • Fully Compatible

      Currently the error-messages generated following an EBUSY return from WiredTiger can be very confronting and opaque.

      For example, running a full validate on a WiredTiger collection may sometimes return a transient EBUSY error which is very opaque:

      verify() returned EBUSY. Not treating as invalid.

      This is actually a warning that something else was accessing a file at the same time (eg. a checkpoint); retrying the validate should succeed.

      A more user-friendly error message could clarify the affected file and suggested action, eg:

      Could not verify collection-0-1763735954797746426.wt as the file was being actively updated. This should be a transient issue: re-run validate to check again.

            Assignee:
            david.hows David Hows
            Reporter:
            stephen.steneker@mongodb.com Stennie Steneker (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: