sky-uk / cqlmigrate

Cassandra schema migration library
BSD 3-Clause "New" or "Revised" License
47 stars 29 forks source link

Improve message when lock is held by some other client #109

Open sky-andremartins opened 1 year ago

sky-andremartins commented 1 year ago

Currently the message logged when there is another client holding the lock does not contain that client id because it relies on the toString method from ResultSet and thats not convenient. https://github.com/sky-uk/cqlmigrate/blob/d8cad30b6ca75796921e9b1f5e5ca26969c34abf/src/main/java/uk/sky/cqlmigrate/CassandraLockingMechanism.java#L80