Clone
Abdullah Alamoudi <bamousaa@gmail.com>
committed
on 30 Mar 18
[NO ISSUE][STO] Misc fixes in storage
- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- Blocking IO … Show more
[NO ISSUE][STO] Misc fixes in storage

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Blocking IO callback used to wait for any notification on the

 callback before returning. The behaviour was fixed to only return

 if the completion flag was set on afterFinalize.

- Reading and writing to and from memory component's didn't do any

 locking and so, this could read to concurrency issues.

- Reading metadata values used to rely on pointables which can be

 problematic because then the caller will need to latch/pin the

 page correctly. To avoid this, readers of metadata pages will

 always take a copy of the metadata.

Change-Id: I4bdc4c16a9c126d311378e56651632bbb4a50864

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

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

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

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: Murtadha Hubail <mhubail@apache.org>

Show less

master + 4 more