Skip to content

Commit

Permalink
fixed call to newsession
Browse files Browse the repository at this point in the history
  • Loading branch information
badrishc committed Dec 20, 2019
1 parent ecbf696 commit 49866bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cs/benchmark/FasterYcsbBenchmark.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ private void RunYcsb(int thread_idx)
int count = 0;
#endif

var session = store.NewSession(null, false);
var session = store.NewSession(null, true);

while (!done)
{
Expand Down Expand Up @@ -317,7 +317,7 @@ private void SetupYcsb(int thread_idx)
else
Native32.AffinitizeThreadShardedNuma((uint)thread_idx, 2); // assuming two NUMA sockets

var session = store.NewSession(null, false);
var session = store.NewSession(null, true);

#if DASHBOARD
var tstart = Stopwatch.GetTimestamp();
Expand Down
2 changes: 1 addition & 1 deletion cs/playground/SumStore/RecoveryTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ private void RunThread(int threadId, bool continueSession)
else
{
// Register thread with FASTER
session = fht.NewSession(threadId.ToString(), false);
session = fht.NewSession(threadId.ToString(), true);
}

GenerateClicks(session, sno);
Expand Down

0 comments on commit 49866bf

Please sign in to comment.