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

Jean-Noel Rouvignac
04.55.2013 2173fe6484daebf086de4eeed092db474758d094
refs
author Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Monday, November 4, 2013 15:55 +0100
committer Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Monday, November 4, 2013 15:55 +0100
commit2173fe6484daebf086de4eeed092db474758d094
tree d79f06fd88d6fdac8c1314fe35359af51e1521ca tree | zip | gz
parent 4a0b96c5473aab96a166ccac23175b62591476ad view | diff
OPENDJ-1190 (CR-2523) Under rare circumstances the DS replication recovery thread (RSUpdater) can spin


This change is linked to the misbehaving RSUpdater thread which (wrongly):
- could be started multiple times
- would not shutdown willingly when the server is shutting down
- would try to look for replay operations in the future



LDAPReplicationDomain.java:
In buildAndPublishMissingChanges(), only exit the loop when the currentStartCSN is newer than now (instead of the incorrect currentStartCSN + 10s).

HistoricalCsnOrderingTest.java:
Code cleanup.
2 files modified
46 ■■■■■ changed files
opends/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java 2 ●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/HistoricalCsnOrderingTest.java 44 ●●●●● diff | view | raw | blame | history