PragmaTwice commented on PR #646: URL: https://github.com/apache/incubator-kvrocks/pull/646#issuecomment-1162649565
> Hi @PragmaTwice is there a bug? what is its danger? Yeah, the expression `nodes_.find(n.second->master_id_) != nodes.end()` will never return `false` becuase any iterator of `nodes_` never equal to `nodes.end()`. `nodes_` and `nodes` is not the same object. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
