Skip to content

Commit

Permalink
Remove usage of Helpers.trim for compatibilty with dgo (#1099)
Browse files Browse the repository at this point in the history
In our dgo branch of corfu, Helpers class doesn't exist. This will
remove the forward dependency.
  • Loading branch information
rogermichoud authored and no2chem committed Dec 16, 2017
1 parent 8928275 commit c7cd20d
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1347,7 +1347,11 @@ public void canRecreateCorfuTableWithIndex() throws Exception {
MultiCheckpointWriter mcw = new MultiCheckpointWriter();
mcw.addMap(originalTable);
long cpAddress = mcw.appendCheckpoints(originalRuntime, "author");
Helpers.trim(originalRuntime, cpAddress);

originalRuntime.getAddressSpaceView().prefixTrim(cpAddress - 1);
originalRuntime.getAddressSpaceView().gc();
originalRuntime.getAddressSpaceView().invalidateServerCaches();
originalRuntime.getAddressSpaceView().invalidateClientCache();


FastObjectLoader fsmr = new FastObjectLoader(recreatedRuntime);
Expand Down

0 comments on commit c7cd20d

Please sign in to comment.