Closed GregDThomas closed 2 months ago
Excellent catch! Gonna run your build quickly, then merge it.
The background here: A while back, it was agreed Spring wide that trailing dots in exception messages should be removed. Well, that's what I get for not having constants for that in the first place. Thank you!
I'm guessing this could/should be backported to 7.3.x, maybe 7.2.x depending on when the change was made?
I will take care of this for all supported branches. :)
Thank you!
org.springframework.data.neo4j.core.support.RetryExceptionPredicate
contains two exception messages that are retryable;Neither of these messages appear anywhere in the code base. However, very similar messages (without a trailing dot) appear in exceptions raised in
org.springframework.data.neo4j.core.transaction.Neo4jTransactionHolder
. Given these exceptions should be retryable, these exception messages should match.(Background; we've been wondering why some exceptions weren't being retried in our code base - finally narrowed it down to this!)