Clone
Murtadha Makki Al Hubail
committed
on 09 Aug 18
[ASTERIXDB-2398][STO] Ensure No Concurrent Access to FileMapManager
- user model changes: no
- storage format changes: no
- interface change… Show more
[ASTERIXDB-2398][STO] Ensure No Concurrent Access to FileMapManager

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Currently it is possible for a thread to access

 FileMapManager without holding the proper lock

 and therefore seeing a stale state of the map.

 This change ensures that all access to the map

 is synchronized on the same lock.

Change-Id: Iea7fdb0b891b4ba2aaa528b42eab47b6f841672d

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

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

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

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

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

Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>

Show less