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

gbellato
13.31.2006 e07cdcbd253fd366c5002f7368470e0158bfcc2c
refs
author gbellato <gbellato@localhost>
Monday, November 13, 2006 09:31 +0100
committer gbellato <gbellato@localhost>
Monday, November 13, 2006 09:31 +0100
commite07cdcbd253fd366c5002f7368470e0158bfcc2c
tree f5170d5355ca72d4048c48f1dab149c04c6d3602 tree | zip | gz
parent 90e372637db76c6c9dd14a1206d28c1cb0298590 view | diff
Fix for 982 : reorganize synchronization code :

before synchronization code was in 2 packages :
org.opends.server.synchronization and org.opends.server.changelog

It was not clear that the code in the changelog package is part of the synchronization
also some code in both of these packages are actually used by both sides of the synchronization.

To make this better (and as said in the synchronization meeting) the code is now split in 4
packages that are all below : org.opends.server.synchronization
- synchronization.changelog contain the code running on the changelog side
- synchronization.plugin contain the code running on the DS side.
- synchronization.protocol contain the code used by both side to exchange information.
- synchronization.common contain utilities that can be used by any of the first 3 packages.

Hopefully this should make the synchronization code more easy to understand.
1 files copied
2 files deleted
4 files added
63 files renamed
4 files modified
1920 ■■■■ changed files
opends/src/server/org/opends/server/changelog/SerializingProtocolSession.java 122 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/ServerState.java 519 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/changelog/AckMessageList.java 4 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/changelog/AckMessageListComparator.java 2 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/changelog/Changelog.java 5 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/changelog/ChangelogAckMessageList.java 4 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/changelog/ChangelogCache.java 14 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/changelog/ChangelogDB.java 8 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/changelog/ChangelogDBException.java 2 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/changelog/ChangelogData.java 7 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/changelog/ChangelogDbEnv.java 4 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/changelog/ChangelogIterator.java 8 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/changelog/ChangelogIteratorComparator.java 4 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/changelog/ChangelogKey.java 5 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/changelog/DbHandler.java 10 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/changelog/MsgQueue.java 6 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/changelog/ServerHandler.java 21 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/changelog/ServerReader.java 13 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/changelog/ServerWriter.java 7 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/changelog/UpdateComparator.java 7 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/changelog/package-info.java 2 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/common/ChangeNumber.java 2 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/common/ChangeNumberGenerator.java 2 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/common/LogMessages.java 6 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/common/ServerState.java 284 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/common/package-info.java 34 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/package-info.java 41 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/plugin/AttrInfo.java 4 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/plugin/AttrInfoWithOptions.java 3 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/plugin/ChangelogBroker.java 15 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/plugin/FakeOperation.java 4 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/plugin/FakeOperationComparator.java 3 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/plugin/HistKey.java 2 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/plugin/HistVal.java 3 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/plugin/Historical.java 17 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/plugin/HistoricalCsnOrderingMatchingRule.java 2 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/plugin/ListenerThread.java 5 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/plugin/ModifyFakeOperation.java 5 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/plugin/MultimasterSynchronization.java 14 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/plugin/PendingChange.java 4 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/plugin/PersistentServerState.java 309 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/plugin/SynchronizationDomain.java 35 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/plugin/SynchronizationMonitor.java 2 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/plugin/ValueInfo.java 3 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/plugin/package-info.java 50 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/protocol/AckMessage.java 19 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/protocol/AddContext.java 4 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/protocol/AddMsg.java 5 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/protocol/ChangelogStartMessage.java 13 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/protocol/DeleteContext.java 4 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/protocol/DeleteMsg.java 5 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/protocol/ModifyContext.java 4 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/protocol/ModifyDNMsg.java 5 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/protocol/ModifyDnContext.java 4 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/protocol/ModifyMsg.java 6 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/protocol/OperationContext.java 3 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/protocol/ProtocolSession.java 4 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/protocol/ServerStartMessage.java 15 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/protocol/SocketSession.java 4 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/protocol/SynchronizationMessage.java 13 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/protocol/UpdateMessage.java 12 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/protocol/WindowMessage.java 10 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/protocol/package-info.java 51 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/changelog/UpdateComparatorTest.java 11 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/StressTest.java 7 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/UpdateOperationTest.java 11 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/common/ChangeNumberTest.java 5 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/common/ServerStateTest.java 16 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/plugin/AttrInfoTest.java 6 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/plugin/ModifyConflictTest.java 12 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/plugin/ValueInfoTest.java 5 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/protocol/ProtocolWindowTest.java 10 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/protocol/SyncMessagesTest.java 10 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/protocol/SynchronizationMsgTest.java 23 ●●●● diff | view | raw | blame | history