crdt_insert_new_entry_counter (#680)
This commit is contained in:
parent
85d6627ee6
commit
8cf5620b87
|
@ -421,6 +421,9 @@ impl Crdt {
|
||||||
v.debug_id(),
|
v.debug_id(),
|
||||||
v.version
|
v.version
|
||||||
);
|
);
|
||||||
|
if self.table.get(&v.id).is_none() {
|
||||||
|
inc_new_counter!("crdt-insert-new_entry", 1, 1);
|
||||||
|
}
|
||||||
|
|
||||||
self.update_index += 1;
|
self.update_index += 1;
|
||||||
let _ = self.table.insert(v.id, v.clone());
|
let _ = self.table.insert(v.id, v.clone());
|
||||||
|
|
Loading…
Reference in New Issue