Clone
Murtadha Makki Al Hubail
committed
on 07 Sep 18
[NO ISSUE][STO] Ensure Index Component Sequence Uniqueness
- user model changes: no
- storage format changes: no
- interface changes: no

De… Show more
[NO ISSUE][STO] Ensure Index Component Sequence Uniqueness

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

Currently, if two or more flushes are scheduled before any

of them create its files on disk, we will end up reusing

the same component sequence since the last used component

sequence is based on the files on disk. This change ensures

that the last use component sequence is only initialized

from the disk files and after that the last used component

sequence is incremented in memory.

Change-Id: I478ca3e2c9a98bab14a9145cc8b23eadbd0eab08

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2958

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Murtadha Hubail <mhubail@apache.org>

Reviewed-by: Till Westmann <tillw@apache.org>

Show less