apple / foundationdb

FoundationDB - the open source, distributed, transactional key-value store
https://apple.github.io/foundationdb/
Apache License 2.0
14.39k stars 1.3k forks source link

Documentation on transaction priorities #2352

Open apkar opened 4 years ago

apkar commented 4 years ago

The application developer can setup priority on transactions. These priorities have huge effect on how these transactions perform and fail, which is the desired effect.

Especially batch transactions can be suspended entirely if the cluster is under load. For example, data movement caused by host failure. In some cases, this can be suspended very long as the data movement lasts 10s of minutes.

We have some documentation on API docs and transaction options. We should make this more explicit.

ajbeamon commented 4 years ago

This is documented on the transaction options, but I think the desire is that it be made clear that the cutting off of transactions can happen for extended periods of time.