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

Jean-Noel Rouvignac
04.55.2013 1a2887e8783598c6ee461d976484a7baefea3a82
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
commit1a2887e8783598c6ee461d976484a7baefea3a82
tree b4bd5569e17e632393b96929d35e9a7ad575ee08 tree | zip | gz
parent 56c5968d25c032fe5614f6c6692bb4db6de974d7 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
opendj-sdk/opends/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java 2 ●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/HistoricalCsnOrderingTest.java 44 ●●●●● diff | view | raw | blame | history