Module raftstore::store::peer_storage [−][src]
Structs
| ApplySnapResult | |
| EntryCache | |
| InvokeContext | Returned by |
| PeerStorage |
Enums
| CheckApplyingSnapStatus | Possible status returned by |
| SnapState |
Constants
| ENTRY_MEM_SIZE | |
| INIT_EPOCH_CONF_VER | The initial region epoch conf_version. |
| INIT_EPOCH_VER | The initial region epoch version. |
| JOB_STATUS_CANCELLED | |
| JOB_STATUS_CANCELLING | |
| JOB_STATUS_FAILED | |
| JOB_STATUS_FINISHED | |
| JOB_STATUS_PENDING | |
| JOB_STATUS_RUNNING | |
| MAX_CACHE_CAPACITY | |
| MAX_SNAP_TRY_CNT | |
| RAFT_INIT_LOG_INDEX | |
| RAFT_INIT_LOG_TERM | |
| SHRINK_CACHE_CAPACITY |
Traits
| HandleRaftReadyContext |
Functions
| clear_meta | Delete all meta belong to the region. Results are stored in |
| do_snapshot | |
| first_index | |
| get_sync_log_from_entry | |
| init_applied_index_term | |
| init_apply_state | |
| init_last_term | |
| init_raft_state | |
| last_index | |
| recover_from_applying_state | |
| storage_error | |
| validate_states | |
| write_initial_apply_state | |
| write_initial_raft_state | |
| write_peer_state |