1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-28 20:02:00 +03:00

Remove obsolete wsrep::server_state::last_committed_gtid() method

This commit is contained in:
Alexey Yurchenko
2021-11-29 20:25:18 +02:00
parent bef2c93a6d
commit 31a35bf573
4 changed files with 21 additions and 28 deletions

View File

@ -60,6 +60,17 @@ namespace wsrep
{
return (seqno_ > other.seqno_);
}
bool operator<=(seqno other) const
{
return !(seqno_ > other.seqno_);
}
bool operator>=(seqno other) const
{
return !(seqno_ < other.seqno_);
}
bool operator==(seqno other) const
{
return (seqno_ == other.seqno_);

View File

@ -387,16 +387,6 @@ namespace wsrep
*/
const wsrep::view& current_view() const { return current_view_; }
/**
* Set last committed GTID.
*/
void last_committed_gtid(const wsrep::gtid&);
/**
* Return the last committed GTID known to be committed
* on server.
*/
wsrep::gtid last_committed_gtid() const;
/**
* Wait until all the write sets up to given GTID have been
* committed.
@ -643,7 +633,6 @@ namespace wsrep
, connected_gtid_()
, previous_primary_view_()
, current_view_()
, last_committed_gtid_()
, rollback_event_queue_()
{ }
@ -725,7 +714,6 @@ namespace wsrep
wsrep::gtid connected_gtid_;
wsrep::view previous_primary_view_;
wsrep::view current_view_;
wsrep::gtid last_committed_gtid_;
std::deque<wsrep::transaction_id> rollback_event_queue_;
};