File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -277,7 +277,7 @@ void Rebalance::unlockAll(bool oneway) {
277
277
PullRequest* pullreq = getPullRequest (mqs[i]);
278
278
if (pullreq) {
279
279
LOG_INFO (" unlockBatchMQ success of mq:%s" , mqs[i].toString ().c_str ());
280
- pullreq->setLocked (true );
280
+ pullreq->setLocked (false );
281
281
} else {
282
282
LOG_ERROR (" unlockBatchMQ fails of mq:%s" , mqs[i].toString ().c_str ());
283
283
}
@@ -311,7 +311,7 @@ void Rebalance::unlock(MQMessageQueue mq) {
311
311
PullRequest* pullreq = getPullRequest (mqs[i]);
312
312
if (pullreq) {
313
313
LOG_INFO (" unlock success of mq:%s" , mqs[i].toString ().c_str ());
314
- pullreq->setLocked (true );
314
+ pullreq->setLocked (false );
315
315
} else {
316
316
LOG_ERROR (" unlock fails of mq:%s" , mqs[i].toString ().c_str ());
317
317
}
You can’t perform that action at this time.
0 commit comments