From 2dc8339ff10310758fc0b4ae037c4f00d000b060 Mon Sep 17 00:00:00 2001 From: Denis Protivensky Date: Thu, 19 Jun 2025 16:36:20 +0300 Subject: [PATCH] Expose provider::conflict_gtid() method for GRP --- include/wsrep/provider.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/wsrep/provider.hpp b/include/wsrep/provider.hpp index b04394b..03709de 100644 --- a/include/wsrep/provider.hpp +++ b/include/wsrep/provider.hpp @@ -470,6 +470,14 @@ namespace wsrep */ virtual void* native() const = 0; + /** + * Get conflicting gtid for the given transaction handle, if any. + */ + virtual wsrep::gtid conflict_gtid(const wsrep::ws_handle&) const + { + return wsrep::gtid::undefined(); + } + /** * Services argument passed to make_provider. This struct contains * optional services which are passed to the provider.