Skip to content

Conversation

@bsbodden
Copy link
Collaborator

@bsbodden bsbodden commented Sep 5, 2025

See #377

JSON operations now automatically detect and participate in Redis transactions
when executed within a SessionCallback/transaction context. This ensures
proper atomicity when combining JSON operations with other Redis commands
in transactions.

- Added transaction detection using RedisConnection.isQueueing()
- JSON.SET commands are properly queued using connection.execute()
- Maintains backward compatibility with existing non-transactional usage
- Added comprehensive test coverage for transaction scenarios

Fixes redis#377
@bsbodden bsbodden merged commit b61e631 into redis:main Sep 5, 2025
1 check passed
@bsbodden bsbodden deleted the bsb/issue-377 branch September 5, 2025 15:47
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.

1 participant