changeNumber
The set of changes made to a directory server
is given by the set of all entries in the changelog,
ordered by changeNumber
,
which strictly increases for a given server.
Note The changeNumber
is unique to a server,
and not necessarily shared or synchronized across servers.
The change numbers for ForgeRock servers can be synchronized
using the dsrepl reset-change-number
command.
ForgeRock servers also provide an alternative changeLogCookie
attribute,
which can be used reliably across a replicated topology.
A client application may synchronize its local copy of directory data
by reading the server’s changelog for entries
where the changeNumber
is greater than or equal to the last change
that the client read from the server.
A server can, however, trim its changelog.
If the last change read from the changelog is not returned in search results,
the client application must fall back to rebuilding
its entire copy of directory data.
Single value |
true |
Origin |
|
Usage |
userApplications |
Description |
a number which uniquely identifies a change made to a directory entry |
Ordering matching rule |
|
OID |
2.16.840.1.113730.3.1.5 |
User modification allowed |
true |
Schema file |
03-changelog.ldif |
Names |
changeNumber |
Used by |
|
Substring matching rule |
|
Syntax |
|
Equality matching rule |