Re: [Maria-developers] Summary of the storage engine API changes for group commit

2011-04-06 Thread MARK CALLAGHAN
OK, that is what I wanted to know. On Wed, Apr 6, 2011 at 6:16 AM, Kristian Nielsen wrote: > MARK CALLAGHAN writes: > >> Is commit_ordered called before or after the transaction's XID event >> has been written to the binlog? >> after it has been forced (fsync) to the binlog? > > It is called

Re: [Maria-developers] Summary of the storage engine API changes for group commit

2011-04-06 Thread Kristian Nielsen
MARK CALLAGHAN writes: > Is commit_ordered called before or after the transaction's XID event > has been written to the binlog? > after it has been forced (fsync) to the binlog? It is called just after XID event has been written (and fsync()ed in case of sync_binlog=1) to binlog. - Kristia

Re: [Maria-developers] Summary of the storage engine API changes for group commit

2011-04-06 Thread MARK CALLAGHAN
Is commit_ordered called before or after the transaction's XID event has been written to the binlog? after it has been forced (fsync) to the binlog? On Wed, Apr 6, 2011 at 12:16 AM, Kristian Nielsen wrote: > Hi Serg, > > As promised, here is a summary of the changes to the storage engine API

Re: [Maria-developers] Summary of the storage engine API changes for group commit

2011-04-06 Thread Sergei Golubchik
Hi, Kristian! On Apr 06, Kristian Nielsen wrote: > > As promised, here is a summary of the changes to the storage engine > API that I made as part of group commit. > > Two new handlerton methods are added: > > void (*prepare_ordered)(handlerton *hton, THD *thd, bool all); > void (*commi

[Maria-developers] Summary of the storage engine API changes for group commit

2011-04-06 Thread Kristian Nielsen
Hi Serg, As promised, here is a summary of the changes to the storage engine API that I made as part of group commit. Two new handlerton methods are added: void (*prepare_ordered)(handlerton *hton, THD *thd, bool all); void (*commit_ordered)(handlerton *hton, THD *thd, bool all); commit