GIRAPH-1081: Fix a bug in internal out-of-core infra: multithreaded accesses to buffers
authorHassan Eslami <heslami@fb.com>
Wed, 29 Jun 2016 01:43:18 +0000 (18:43 -0700)
committerMaja Kabiljo <majakabiljo@fb.com>
Wed, 29 Jun 2016 01:43:33 +0000 (18:43 -0700)
commit23184e15023157312d7a8afe0adfe30b5d7864a8
tree929ee738d83f24d6ec970adcea41cb29daf247d2
parent77a24a9fcd3b01961f881143e485b4be0826c139
GIRAPH-1081: Fix a bug in internal out-of-core infra: multithreaded accesses to buffers

Summary: The multi-threaded accesses to raw data buffers in `DiskBackedDataStore` is overlooked, violating assumption on properly partitioning data to different IO threads.

Test Plan: mvn clean verify

Reviewers: dionysis.logothetis, sergey.edunov, maja.kabiljo

Reviewed By: maja.kabiljo

Differential Revision: https://reviews.facebook.net/D60147
giraph-core/src/main/java/org/apache/giraph/ooc/data/DiskBackedDataStore.java
giraph-core/src/main/java/org/apache/giraph/ooc/data/MetaPartitionManager.java