Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-1577

Server should stop all DB-related activity when disk full is detected


    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 4.0.0, 3.0.0, 2.6.0
    • Fix Version/s: Not applicable
    • Component/s: backends
    • Labels:
    • Support Ticket IDs:
    • Sprint:
      Sustaining Sprint 3, Sustaining Sprint 4, DJ Sustaining 4, DJ Sustaining 5, DJ Sustaining 6, DJ Sustaining 7, DJ Sustaining 8, DJ Sustaining 9, DJ Sustaining Sprint 27


      A DS+RS starts to run low on disk space. We log the "low disk space" message and reject local changes with unwilling_to_perform, but we continue to accept and write changes into the changelog, and replay them in the backend.

      However when the disk becomes full, writes to the userRoot fail with an IOException (no disk space) and the userRoot environment is invalid.

      But the server keeps running, and seems to keep trying to write to the changelog. This is probably not sensible, and we should consider preventing all DB writes (including JE cleaner threads) before this happens. Perhaps shutting down the server?

      If we keep running we can end up with a corrupted backend, and a changelog that can't be opened. (Even if you stop the server, grow the underlying disk, and restart the server.)


          Issue Links



              • Assignee:
                cjr Chris Ridd
                cjr Chris Ridd
              • Votes:
                0 Vote for this issue
                2 Start watching this issue


                • Created: