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

Jean-Noel Rouvignac
20.52.2013 a279ca9e1d01c9bd3f5cb6d05786dbd88ae784f8
refs
author Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Friday, December 20, 2013 17:52 +0100
committer Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Friday, December 20, 2013 17:52 +0100
commita279ca9e1d01c9bd3f5cb6d05786dbd88ae784f8
tree 5e6ccc276b19b02f107fcd4a8fdf3a123171c5c2 tree | zip | gz
parent 2bb63145b4fe85f9aaa1580c19b25a1f01ec0ec2 view | diff
OPENDJ-1231 Make the Medium Consistency Point support replica heartbeats

Christophe reported to me that functional tests with the changeNumber were failing.
After investigation on my side, it turns out that the mediumConsistencyCSN was blocked on a "cn=admin data" or "cn=schema" CSN.
Fix consists in excluding these domains in ChangeNumberIndexer's publishHeartbeat() and publishUpdateMsg() methods.


ChangeNumberIndexer.java:
Added isExcludedFromECL() + used it from publishHeartbeat() and publishUpdateMsg() to exclude undesired domains.
1 files modified
17 ■■■■■ changed files
opends/src/server/org/opends/server/replication/server/changelog/je/ChangeNumberIndexer.java 17 ●●●●● diff | view | raw | blame | history