Clone
luochen <cluo8@uci.edu>
committed
on 23 Oct 18
[ASTERIXDB-2467][STO] Fix locking protocol with bad tuples
- user model changes: no
- storage format changes: no
- interface changes: no

De… Show more
[ASTERIXDB-2467][STO] Fix locking protocol with bad tuples

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- The current locking protocol is not correct when there are bad tuples,

e.g., duplicates. When locking fails, the write must push partial frames

so that the previous acquired locks are released. However, if there are

bad tuples in the frame, after bad tuples are removed from the frame, the

state of pushed partial frames will be completely lost.

Change-Id: I86baa1f21ef7390777c8e2b0ce226095528e7f18

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

Reviewed-by: Xikui Wang <xkkwww@gmail.com>

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>

Show less