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

Jean-Noel Rouvignac
02.18.2013 431ba3003d605b683e46aded6ee492a93c9981ee
Renamed ds-cfg-compute-changenumber to ds-cfg-compute-change-number.
8 files modified
24 ■■■■ changed files
opends/src/admin/defn/org/opends/server/admin/std/ExternalChangelogDomainConfiguration.xml 2 ●●● patch | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/ReplicationServerConfiguration.xml 4 ●●●● patch | view | raw | blame | history
opends/src/admin/messages/ExternalChangelogDomainCfgDefn.properties 2 ●●● patch | view | raw | blame | history
opends/src/admin/messages/ReplicationServerCfgDefn.properties 4 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ReplicationServer.java 4 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/changelog/je/JEChangelogDB.java 2 ●●● patch | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/ExternalChangeLogTest.java 2 ●●● patch | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/ReplServerFakeConfiguration.java 4 ●●●● patch | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/ExternalChangelogDomainConfiguration.xml
@@ -47,7 +47,7 @@
    <adm:synopsis>
      Indicates whether the <adm:user-friendly-name /> is enabled.
      To enable computing the change numbers, set the Replication Server's 
      "ds-cfg-compute-changenumber" property to true.
      "ds-cfg-compute-change-number" property to true.
    </adm:synopsis>
    <adm:syntax>
      <adm:boolean />
opends/src/admin/defn/org/opends/server/admin/std/ReplicationServerConfiguration.xml
@@ -328,7 +328,7 @@
      </ldap:attribute>
    </adm:profile>
  </adm:property>
  <adm:property name="compute-changenumber" mandatory="false">
  <adm:property name="compute-change-number" mandatory="false">
    <adm:synopsis>
      Whether the replication server will compute changenumbers.
    </adm:synopsis>
@@ -351,7 +351,7 @@
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>ds-cfg-compute-changenumber</ldap:name>
        <ldap:name>ds-cfg-compute-change-number</ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
opends/src/admin/messages/ExternalChangelogDomainCfgDefn.properties
@@ -5,4 +5,4 @@
property.ecl-include.description=The list of attributes may include wild cards such as "*" and "+" as well as object class references prefixed with an ampersand, for example "@person". The included attributes will be published using the "includedAttributes" operational attribute as a single LDIF value rather like the "changes" attribute. For modify and modifyDN operations the included attributes will be taken from the entry before any changes were applied.
property.ecl-include-for-deletes.synopsis=Specifies a list of attributes which should be published with every delete operation change log entry, in addition to those specified by the "ecl-include" property.
property.ecl-include-for-deletes.description=This property provides a means for applications to archive entries after they have been deleted. See the description of the "ecl-include" property for further information about how the included attributes are published.
property.enabled.synopsis=Indicates whether the External Changelog Domain is enabled. To enable computing the change numbers, set the Replication Server's "ds-cfg-compute-changenumber" property to true.
property.enabled.synopsis=Indicates whether the External Changelog Domain is enabled. To enable computing the change numbers, set the Replication Server's "ds-cfg-compute-change-number" property to true.
opends/src/admin/messages/ReplicationServerCfgDefn.properties
@@ -3,8 +3,8 @@
synopsis=Replication Servers publish updates to Directory Servers within a Replication Domain.
property.assured-timeout.synopsis=The timeout value when waiting for assured mode acknowledgments.
property.assured-timeout.description=Defines the number of milliseconds that the replication server will wait for assured acknowledgments (in either Safe Data or Safe Read assured sub modes) before forgetting them and answer to the entity that sent an update and is waiting for acknowledgment.
property.compute-changenumber.synopsis=Whether the replication server will compute changenumbers.
property.compute-changenumber.description=This boolean tells the replication server to compute changenumbers for each replicated change by maintaining a changenumber index database. Changenumbers are computed according to http://tools.ietf.org/html/draft-good-ldap-changelog-04. Note this functionality has an impact on CPU, disk accesses and storage. If changenumbers are not required, it is advisable to set this value to false.
property.compute-change-number.synopsis=Whether the replication server will compute change numbers.
property.compute-change-number.description=This boolean tells the replication server to compute change numbers for each replicated change by maintaining a change number index database. Changenumbers are computed according to http://tools.ietf.org/html/draft-good-ldap-changelog-04. Note this functionality has an impact on CPU, disk accesses and storage. If changenumbers are not required, it is advisable to set this value to false.
property.degraded-status-threshold.synopsis=The number of pending changes as threshold value for putting a directory server in degraded status.
property.degraded-status-threshold.description=This value represents a number of pending changes a replication server has in queue for sending to a directory server. Once this value is crossed, the matching directory server goes in degraded status. When number of pending changes goes back under this value, the directory server is put back in normal status. 0 means status analyzer is disabled and directory servers are never put in degraded status.
property.group-id.synopsis=The group id for the replication server.
opends/src/server/org/opends/server/replication/server/ReplicationServer.java
@@ -780,8 +780,8 @@
    {
      this.changelogDB.setPurgeDelay(getTrimAge());
    }
    final boolean computeCN = config.isComputeChangenumber();
    if (computeCN != oldConfig.isComputeChangenumber())
    final boolean computeCN = config.isComputeChangeNumber();
    if (computeCN != oldConfig.isComputeChangeNumber())
    {
      try
      {
opends/src/server/org/opends/server/replication/server/changelog/je/JEChangelogDB.java
@@ -311,7 +311,7 @@
      dbEnv = new ReplicationDbEnv(dbDir.getAbsolutePath(), replicationServer);
      final ChangelogState changelogState = dbEnv.readChangelogState();
      initializeChangelogState(changelogState);
      if (config.isComputeChangenumber())
      if (config.isComputeChangeNumber())
      {
        final ChangeNumberIndexer indexer =
            new ChangeNumberIndexer(this, changelogState);
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/ExternalChangeLogTest.java
@@ -151,7 +151,7 @@
      new ReplServerFakeConfiguration(
          replicationServerPort, "ExternalChangeLogTestDb",
          0, 71, 0, maxWindow, null);
    conf1.setComputeChangenumber(true);
    conf1.setComputeChangeNumber(true);
    replicationServer = new ReplicationServer(conf1);
    debugInfo("configure", "ReplicationServer created"+replicationServer);
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/ReplServerFakeConfiguration.java
@@ -288,12 +288,12 @@
  }
  @Override
  public boolean isComputeChangenumber()
  public boolean isComputeChangeNumber()
  {
    return computeChangenumber;
  }
  public void setComputeChangenumber(boolean computeChangenumber)
  public void setComputeChangeNumber(boolean computeChangenumber)
  {
    this.computeChangenumber = computeChangenumber;
  }