Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Commit

Permalink
Remove line causing the database to close twice and fault
Browse files Browse the repository at this point in the history
Summary:
Removed linkStore.close line that was added before closeStores was introduced.
This is what was causing linkbench for rocksdb to not run successfully with multiple
threads. Now it runs for both load and request phases with multiple threads.

Test Plan:
ant dist; load phase with loaders=10, request phase with requesters=100
and number of requests=500000

Reviewers: dhruba, tarmstrong, vamsi, sheki

Reviewed By: sheki

Differential Revision: https://reviews.facebook.net/D8793
  • Loading branch information
emayanke committed Feb 22, 2013
1 parent 5872d41 commit ae82ed7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/java/com/facebook/LinkBench/LinkBenchRequest.java
Expand Up @@ -837,7 +837,6 @@ public void run() {
}
}

this.linkStore.close();
// Do final update of statistics
progressTracker.update(requestsSinceLastUpdate);
displayStats(lastStatDisplay_ms, System.currentTimeMillis());
Expand Down

0 comments on commit ae82ed7

Please sign in to comment.