Skip to content

Conversation

@lidavidm
Copy link
Member

@lidavidm lidavidm commented Jun 2, 2022

It's hard for the driver manager to allocate/free errors since it
would have to manually intercept all calls. Also, it makes it hard
to provide error messages when there is no driver. Move the error
release callback to the error structure itself to make this easier.

It's hard for the driver manager to allocate/free errors since it
would have to manually intercept all calls. Also, it makes it hard
to provide error messages when there is no driver. Move the error
release callback to the error structure itself to make this easier.
@lidavidm lidavidm merged commit 13b8734 into apache:main Jun 9, 2022
@lidavidm lidavidm deleted the refactor branch June 9, 2022 14:48
msrathore-db added a commit to msrathore-db/arrow-adbc that referenced this pull request Nov 4, 2025
Added 5 targeted tests validating code review fixes:
- Duplicate detection prevention (issue apache#5)
- Atomic CTS replacement (issue apache#9)
- Cleanup in finally block (issue apache#3)
- Cancellable cleanup tasks (issue apache#7)
- Concurrent CTS cleanup safety

All tests use real objects (ConcurrentDictionary, CancellationTokenSource)
without mocks, following existing CloudFetch test patterns.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
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