Fix an issue where turning off manual LB breaks AtSync99/4999/2
commitbdf2fe736875b3dcac024e2db6b09d8a50e0c4be
authorEric Mikida <epmikida@hpccharm.com>
Mon, 4 Mar 2019 21:32:59 +0000 (4 16:32 -0500)
committerEvan Ramos <evan@hpccharm.com>
Fri, 8 Mar 2019 23:05:15 +0000 (8 17:05 -0600)
treeee87556ef4f6ce769119db7ffa4ebf57892a9052
parent643e9a6ed608a62ce3ac0c40220dd1b3b3993159
Fix an issue where turning off manual LB breaks AtSync

The problem previously was that when manual LB is on, all check-ins to the
barrier (including from the batsyncer) were entirely ignored. So if then manual
LB was turned off, those calls were lost forever and the barrier would never be
satisfied. This change preserves the calls to the barrier, but keeps the barrier
off until manual LB is turned off.

Change-Id: I0738abcf07af4bc922d73cda40a4c8bf3ddd676b
src/ck-ldb/LBDBManager.C
src/ck-ldb/LBDBManager.h