OPENDJ-1602 (CR-5566) New pluggable storage based backend
Add a reminder to revisit the IndexBuffer flushing algorithm because it is quite surprising.
| | |
| | | */ |
| | | public void flush(WriteableStorage txn) throws StorageRuntimeException, DirectoryException |
| | | { |
| | | /* |
| | | * FIXME: this seems like a surprising way to update the indexes. Why not |
| | | * store the buffered changes in a TreeMap in order to have a predictable |
| | | * iteration order? |
| | | */ |
| | | for (AttributeIndex attributeIndex : entryContainer.getAttributeIndexes()) |
| | | { |
| | | for (Index index : attributeIndex.getAllIndexes()) |