mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

ludovicp
30.34.2010 ead416fd200146255cc99752d62349471da2bbaa
refs
author ludovicp <ludovicp@localhost>
Friday, July 30, 2010 15:34 +0200
committer ludovicp <ludovicp@localhost>
Friday, July 30, 2010 15:34 +0200
commitead416fd200146255cc99752d62349471da2bbaa
tree eceb96beaa55460eb6cce8b9f57256104df5ab0f tree | zip | gz
parent 677211565e2f412569f8e282c803f4b21d314a7e view | diff
Implements disk space monitoring for the JEB backend, import and rebuild operations.
When low disk space is threshold is reached, the operation will abort and close the environment cleanly. All indexes will be left in the "untrusted" state so the user knows the DB is invalid. It will also print the appropriate message depending on which import phase when the threshold is reached: * phase 1 failure: import append + replace required to continue. * phase 2 failure: rebuildAll required to continue.
6 files modified
405 ■■■■■ changed files
opendj-sdk/opends/src/messages/messages/jeb.properties 11 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/api/DiskSpaceMonitorHandler.java 16 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/BackendImpl.java 28 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/importLDIF/Importer.java 313 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/importLDIF/Suffix.java 29 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/extensions/DiskSpaceMonitor.java 8 ●●●● diff | view | raw | blame | history