lp:~stewart/haildb/api-for-trx-is-interrupted
- Get this branch:
- bzr branch lp:~stewart/haildb/api-for-trx-is-interrupted
Branch merges
Related bugs
Related blueprints
Branch information
Recent revisions
- 52. By Stewart Smith
-
Add an API for trx_is_interrupted.
At various points in execution, HailDB checks if it has been asked to kill a particular transaction.
It does this by calling trx_is_
interrupted( ). This patch adds a API
function to set a callback that is called from txr_is_interrupted( ). Currently the only real place that can be cancelled is online create secondary index.
The ib_trx_
is_interrupted test checks just about all combinations of this. API users will have to ib_trx_
set_client_ data(trx, void*) for each transaction they want to be able to make a decision about if it has been killed. Globally, having ib_set_ trx_is_ interrupted_ handler( ) set is also required. HailDB never dereferences the client_data pointer - it treats it as completely opaque.
- 46. By Stewart Smith
-
bump soname VERSION_REVISION and VERSION_AGE up due to change for file_io_threads
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:haildb