Skip to content

Commit 2dc8339

Browse files
Expose provider::conflict_gtid() method for GRP
1 parent a2d7d89 commit 2dc8339

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

include/wsrep/provider.hpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,14 @@ namespace wsrep
470470
*/
471471
virtual void* native() const = 0;
472472

473+
/**
474+
* Get conflicting gtid for the given transaction handle, if any.
475+
*/
476+
virtual wsrep::gtid conflict_gtid(const wsrep::ws_handle&) const
477+
{
478+
return wsrep::gtid::undefined();
479+
}
480+
473481
/**
474482
* Services argument passed to make_provider. This struct contains
475483
* optional services which are passed to the provider.

0 commit comments

Comments
 (0)