Commit 7ee039ae authored by David Rich's avatar David Rich Committed by Rob Latham
Browse files

Don't call UpdateThreadLocal(1) or AssignGCID(0). In looking at the BwTree...

Don't call UpdateThreadLocal(1) or AssignGCID(0). In looking at the BwTree code, the first appears to cause internal BwTree GC problems. A guess for now. Trying to track down core dump in BwTree destructor.
parent 556eb99e
......@@ -185,8 +185,11 @@ static hg_return_t open_handler(hg_handle_t h)
my_hash>();
TREE->SetDebugLogging(0);
TREE->UpdateThreadLocal(1);
TREE->AssignGCID(0);
//TREE->UpdateThreadLocal(1);
//TREE->AssignGCID(0);
size_t num_threads = TREE->GetThreadNum();
printf("SERVER: BwTree initialized, using %lu threads\n", num_threads);
}
else {
printf("SERVER: %s already open and BwTree is initialized\n", in.name);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment