lp:~stewart/haildb/api-for-trx-is-interrupted

Created by Stewart Smith and last modified
Get this branch:
bzr branch lp:~stewart/haildb/api-for-trx-is-interrupted
Only Stewart Smith can upload to this branch. If you are Stewart Smith please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Stewart Smith
Project:
HailDB
Status:
Merged

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.

51. By Stewart Smith

bump version after 2.2.0 release

50. By Stewart Smith

merge harmless fix (comments only) from innodb svn

49. By Stewart Smith

merge fix for importing compressed tablespaces. (fix from innodb svn)

48. By Stewart Smith

merge some fixes from old InnoDB SVN

47. By Stewart Smith

merge work for fixing bug#612982 (shlib calls exit)

46. By Stewart Smith

bump soname VERSION_REVISION and VERSION_AGE up due to change for file_io_threads

45. By Stewart Smith

fix final compiler warnings in api/ that aren't bugs/TODO

44. By Stewart Smith

merge cppcheck fix

43. By Stewart Smith

merge more compiler warning fixes

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:haildb
This branch contains Public information 
Everyone can see this information.

Subscribers