Commit 18fd4c9d authored by John Esmet's avatar John Esmet Committed by Yoni Fogel

refs #5351 fix an overactive assert. just ignore the bit for now because the...

refs #5351 fix an overactive assert. just ignore the bit for now because the lock request layer does not know that write locks do not realy exist.


git-svn-id: file:///svn/toku/tokudb@49962 c7de825b-a66e-492c-adef-691d508d4ae1
parent 43398dcb
......@@ -239,8 +239,8 @@ int locktree::acquire_write_lock(TXNID txnid,
void locktree::get_conflicts(bool is_write_request, TXNID txnid,
const DBT *left_key, const DBT *right_key, txnid_set *conflicts) {
// we are only support write locks for simplicity
invariant(is_write_request);
// because we only support write locks, ignore this bit for now.
(void) is_write_request;
// preparing and acquire a locked keyrange over the range
keyrange range;
......
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