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

Disk full scenario can result in empty offline.state files and lead to changelogDb read failure

    Details

    • Support Ticket IDs:
    • Sprint:
      DJ Sustaining Sprint 34, DJ Sustaining Sprint 35, DJ Sustaining Sprint 36, DJ Sustaining Sprint 37

      Description

      Failures when closing the temporary file for offline.state should be handled more carefully so that the file isn't replaced with a zero-length file:

      The end result of a zero-length offline.state is:

      [25/Jul/2016:09:14:35 +0100] category=SYNC severity=ERROR msgID=org.opends.messages.replication.11 msg=The replication server failed to start because the database /opt/opendj300_2/changelogDb could not be read : Could not read replica offline state file 'dc=optadata-one,dc=de' for domain /opt/opendj300_2/changelogDb/1.dom/9239.server/offline.state, it should contain exactly one line corresponding to the offline CSN
      

      This prevents the replication server from starting.

      Workarounds: Avoid running out of disk space, and delete zero-length offline.state files if they occur.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ian.packer Ian Packer [X] (Inactive)
                Reporter:
                ian.packer Ian Packer [X] (Inactive)
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: