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

Jean-Noel Rouvignac
28.11.2013 dbb7add555b086d07776332278ba3a1142be2c32
PendingChanges.java:
Added comments.
1 files modified
4 ■■■■ changed files
opends/src/server/org/opends/server/replication/plugin/PendingChanges.java 4 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/replication/plugin/PendingChanges.java
@@ -169,6 +169,7 @@
      return numSentUpdates;
    }
    // peek the oldest changeNumber
    ChangeNumber firstChangeNumber = pendingChanges.firstKey();
    PendingChange firstChange = pendingChanges.get(firstChangeNumber);
@@ -185,6 +186,8 @@
        }
        else
        {
          // do not push updates until the RS catches up.
          // @see #setRecovering(boolean)
          domain.getServerState().update(updateMsg.getChangeNumber());
        }
      }
@@ -196,6 +199,7 @@
      }
      else
      {
        // peek the oldest changeNumber
        firstChangeNumber = pendingChanges.firstKey();
        firstChange = pendingChanges.get(firstChangeNumber);
      }