Raft.Net icon indicating copy to clipboard operation
Raft.Net copied to clipboard

remove LogEntry

Open jinyuttt opened this issue 2 years ago • 1 comments

remove LogEntry?

jinyuttt avatar Nov 08 '23 15:11 jinyuttt

If you remove logEntry newly connected peers will not be able to restore the state of the database, nobody knows which peer will be chosen as a restoration point, so each peer should have it. Nevertheless, it is a point of optimization. Because LogEntry is a DBreeze table, it is possible to stop instance, to make records more compact, zip it and transfer as a file (table files) to the new peer. This RAFT.NET implementation is a basic point that can grow in any direction depending upon the needs.

hhblaze avatar Nov 08 '23 16:11 hhblaze