Skip to content

Commit

Permalink
PHOENIX-5645 - GlobalIndexChecker should prevent compaction from purg…
Browse files Browse the repository at this point in the history
…ing very recently deleted cells
  • Loading branch information
gjacoby126 committed Jan 6, 2020
1 parent 6159b12 commit 02cb7ba
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -532,6 +532,7 @@ public void testRecentlyDeletedRowsNotCompactedAway() throws Exception {
createTableAndIndexes(conn, dataTableName, indexStem);
String fullIndexName = indexStem + "1";
long beforeDeleteSCN = EnvironmentEdgeManager.currentTimeMillis();
Thread.sleep(1); //make sure we delete at a different ts
conn.createStatement().execute("DELETE FROM " + dataTableName + " WHERE " +
" id = 'a'");
conn.commit();
Expand Down

0 comments on commit 02cb7ba

Please sign in to comment.