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

ludovicp
30.34.2010 3d4edccb21d69737c263f293410a1a25e4eddac1
refs
author ludovicp <ludovicp@localhost>
Friday, July 30, 2010 15:34 +0200
committer ludovicp <ludovicp@localhost>
Friday, July 30, 2010 15:34 +0200
commit3d4edccb21d69737c263f293410a1a25e4eddac1
tree d115d8840e79f3d07cc9bcd7ca8890d6d9c394a7 tree | zip | gz
parent f5abff29450dc88d7f4432dc93499bb5a05f2924 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
opends/src/messages/messages/jeb.properties 11 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/api/DiskSpaceMonitorHandler.java 16 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/BackendImpl.java 28 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/importLDIF/Importer.java 313 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/importLDIF/Suffix.java 29 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/DiskSpaceMonitor.java 8 ●●●● diff | view | raw | blame | history