Details
-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
-
None
Description
ConsistenHashFactory is implemented in such a way that on newConsistentHash(version) it returns preallocated instance of consistent hash.
TcpTransportFactory stores this hash in shared_ptr. When updateHashFunction is called, the consistentHash is reset to the same instance which is illegal - the owned hash is destroyed and at this moment the ptr starts pointing to rubbish.