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

gbellato
26.17.2007 5c47ab553c1fa329dbad90f5ecfd98b84e518cac
refs
author gbellato <gbellato@localhost>
Monday, March 26, 2007 09:17 +0200
committer gbellato <gbellato@localhost>
Monday, March 26, 2007 09:17 +0200
commit5c47ab553c1fa329dbad90f5ecfd98b84e518cac
tree ec7795cda179474fb1eab75550c5f801956727e6 tree | zip | gz
parent a172bd1c78dc92255574e05c5b63cb9bcc81a26c view | diff
This commit allows to complete issues 504, 505 and 507 by using the new
import/export/backup/restore interface to get notifications of import
and restore and then resynchronize the server approprietely.

It was necessary to move the call to the import and restore listeners in the
import and restore task implementations because these calls were made too
late and the backend that were given in parameter were already invalid when
the listeners are called.

This code is already covered by the ReSyncTest.java
6 files modified
229 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/synchronization/plugin/MultimasterSynchronization.java 177 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tasks/ImportTask.java 13 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tasks/RestoreTask.java 13 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/ReSyncTest.java 23 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/SchemaSynchronizationTest.java 1 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/StressTest.java 2 ●●●●● diff | view | raw | blame | history