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

Jean-Noel Rouvignac
18.43.2014 bdb1828a567b7fde637a6ef4329ff789142770d3
OPENDJ-1602 New pluggable storage based backend

Index.java:
In updateWithRMW(), we must read with RMW. How did that bug go through the cracks?
1 files modified
2 ■■■ changed files
opendj-sdk/opendj3-server-dev/src/server/org/opends/server/backends/pluggable/Index.java 2 ●●● patch | view | raw | blame | history
opendj-sdk/opendj3-server-dev/src/server/org/opends/server/backends/pluggable/Index.java
@@ -236,7 +236,7 @@
                                           EntryIDSet addedIDs)
      throws StorageRuntimeException
  {
    final ByteString value = read(txn, key, false);
    final ByteString value = read(txn, key, true);
    if(value != null)
    {
      EntryIDSet entryIDList = computeEntryIDList(key, value, deletedIDs, addedIDs);