Fix for ASTERIXDB-1247

It seems like the root of this is the testing harness closing the index/deleting the file before it has
had a chance to flush all of its pages. There are also some changes to cover potential
corner cases where confiscated pages could be lost, but this doesn't seem to directly
affect the bug.

Change-Id: Ia580242b3f7753fc2f793f879332de3270ee3fee
Reviewed-on: https://asterix-gerrit.ics.uci.edu/575
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <hubailmor@gmail.com>
7 files changed
tree: a5fd11f85492fc3a92889104a922c0e5d3371d68
  1. algebricks/
  2. hyracks/
  3. src/
  4. .gitignore
  5. DISCLAIMER
  6. LICENSE
  7. NOTICE
  8. pom.xml