apple / apple/foundationdb

Expose cheap way to test whether a transaction is read-only

Open
#4,051 2 comments 0 reactions 1 assignee Claimed by @sfc-gh-mpilman View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.