Clone
Ian Maxon
committed
on 27 Jun 17
[ASTERIXDB-1952][TX][IDX]Log incoming filter vals
- user model changes: no
- interface changes: yes, for txn context
- storage format change… Show more
[ASTERIXDB-1952][TX][IDX]Log incoming filter vals

- user model changes: no

- interface changes: yes, for txn context

- storage format changes: yes, to log

details:

- Prior to this patch the filter values were not correct

 on recovery. The tuple that was logged came from within

 the wrapped indexand contained only the values to be stored.

 In filtered scenarios this differs with what is fed to

 the LSM wrapper to a respective index. redo plays the log

 to the LSM wrapped index, so the input was simply not the

 same on redo as it was during live ingestion. Three are other

 ways to remedy this but the most straightforward is to simply

 log what is given on input, and this is what this patch does.

- There is also a small fix for the way filters are accessed for

 2ndary to primary search with an rtree index

Change-Id: I9268fe0b60145545c5933bab698d651c324397d7

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

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

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

BAD: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Murtadha Hubail <hubailmor@gmail.com>

Show less

master + 4 more