Expose cheap way to test whether a transaction is read-only
Open
- Dominant language
- C++
- Stars
- 16.7k
- Forks
- 1.6k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 126
Description
We would like to have an API function `fdb_transaction_is_read_only` that would tell us whether any writes have been issued so far. This would make it easier to omit a commit. Additionally this should not go through the network thread (we're trying to reduce load on the network thread)
Contributor guide
Assessment
This issue has not been assessed yet.