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

gbellato
26.17.2007 d5193b4f72a86a30a116b4629d1db5231dd42992
refs
author gbellato <gbellato@localhost>
Monday, March 26, 2007 09:17 +0200
committer gbellato <gbellato@localhost>
Monday, March 26, 2007 09:17 +0200
commitd5193b4f72a86a30a116b4629d1db5231dd42992
tree 71b4bbc040a4b57fb8cc58488893e736492ea3f7 tree | zip | gz
parent 815cf928723695217a930f2f5a3baf9a4a19d057 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
opends/src/server/org/opends/server/synchronization/plugin/MultimasterSynchronization.java 177 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tasks/ImportTask.java 13 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tasks/RestoreTask.java 13 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/ReSyncTest.java 23 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/SchemaSynchronizationTest.java 1 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/StressTest.java 2 ●●●●● diff | view | raw | blame | history