rename fetch ops to fetch add

add delnum to frontier and fetch del
This commit is contained in:
Green Sky
2025-09-08 10:41:03 +02:00
parent 31f5adfcc0
commit f41bfeaa65
6 changed files with 127 additions and 23 deletions

View File

@@ -19,7 +19,7 @@ struct CRDTNotesContactSyncModelI {
virtual void SendGossip(
ContactHandle4 c,
const CRDTNotes::DocID& doc_id,
const std::vector<CRDTNotes::Frontier>& selected_frontier
const std::vector<CRDTNotes::Frontier>& frontier
) = 0;
// fetch
@@ -31,7 +31,7 @@ struct CRDTNotesContactSyncModelI {
) = 0;
// action range request
virtual void SendFetchOps(
virtual void SendFetchAddRange(
ContactHandle4 c,
const CRDTNotes::DocID& doc_id,
const CRDTNotes::CRDTAgent& agent,
@@ -39,6 +39,12 @@ struct CRDTNotesContactSyncModelI {
const uint64_t seq_to
) = 0;
virtual void SendFetchDel(
ContactHandle4 c,
const CRDTNotes::DocID& doc_id,
const CRDTNotes::CRDTAgent& agent
) = 0;
public: // ops response
virtual void SendOps(
ContactHandle4 c,