arcadedb
arcadedb copied to clipboard
Rebuild index should validate entries in case of bucket selection strategy
In case the partitioned bucket selection strategy is selected (by default from v23.2.1 in case a unique index is defined), the rebuild of the index should check each record if belong to its bucket, based on the index key.
This is fundamental in the cases:
- the index is dropped and re-created and concurrent insertions happen
- the bucket selection strategy is modified and set to partitioned again