Skip to content

Conversation

@viralpraxis
Copy link
Collaborator

@viralpraxis viralpraxis commented Jul 11, 2025

Resolves #83

Apparently, there's another issue on the Rails side so Isolator's failure is just a symptom. Still, I think it makes sense to check connection_id explicitly and skip threshold change in case of connection switching, since it's an implicit invariant.

Checklist

  • I've added tests for this change
  • I've added a Changelog entry

@viralpraxis viralpraxis force-pushed the yk/fix-mid-transaction-connection-switch-issue branch from 5198bc3 to 34bb06b Compare July 22, 2025 11:12
Resolves palkan#83

Apparently, there's [another issue on the Rails side](rails/rails#55306)
so Isolator's failure is just a symptom. Still, I think it makes sense
to check `connection_id` explicitly and skip threshold change in case of connection switching,
since it's an implicit invariant.
@viralpraxis viralpraxis force-pushed the yk/fix-mid-transaction-connection-switch-issue branch from 34bb06b to 85599c4 Compare November 16, 2025 09:21
@viralpraxis viralpraxis marked this pull request as draft November 16, 2025 09:27
@fatkodima
Copy link

@viralpraxis do you have plans to finish this? I think we experience the same issue.

@viralpraxis
Copy link
Collaborator Author

@viralpraxis do you have plans to finish this? I think we experience the same issue.

Yeah, I’m coming back from my vacation in a week and I’m planning to revisit this one. As far as I remember current patch does not solve the issue so there is some extra investigation to do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tricky heisenbug related to database cleaner

2 participants