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

pgamba
28.42.2008 e72a50dee2a7fe4317ffd609067fee8eb07a7831
Fix 2911 - dsreplication pre/post-external initialisation fails to clear all the changelogs
1 files modified
10 ■■■■ changed files
opends/src/server/org/opends/server/replication/server/ServerHandler.java 10 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ServerHandler.java
@@ -508,8 +508,14 @@
            }
            else
            {
              // The remote has no genId. We don't change anything for the
              // current RS.
              // The remote RS had no genId while the local one has one genID.
              // In our start msg, we have just sent our local genID to
              // the remote RS that will immediatly adopt it
              // So let's store our local genID as the genID of the remote RS.
              // It is necessary to do so, in order to not have a 'bad genID'
              // error when we will try to send updates to the remote RS
              // (before receiving the infoMsg from the remote RS !!!)
              generationId = localGenerationId;
            }
          }
          else