StoreLog is a method on FlyDbStore that stores a single log entry
(log *raft.Log)
| 60 | |
| 61 | // StoreLog is a method on FlyDbStore that stores a single log entry |
| 62 | func (fds *FlyDbStore) StoreLog(log *raft.Log) error { |
| 63 | return fds.StoreLogs([]*raft.Log{log}) // Call the StoreLogs method with a single log entry |
| 64 | } |
| 65 | |
| 66 | // StoreLogs is a method on FlyDbStore that stores multiple log entries |
| 67 | // since FlyDB currently does not support transactions, |