: MDSTableServer(m, TABLE_SNAP), mon_client(monc), last_checked_osdmap(0)
{}
- void reset_state();
- void encode_server_state(bufferlist& bl) const {
+ void reset_state() override;
+ void encode_server_state(bufferlist& bl) const override {
ENCODE_START(3, 3, bl);
::encode(last_snap, bl);
::encode(snaps, bl);
::encode(pending_noop, bl);
ENCODE_FINISH(bl);
}
- void decode_server_state(bufferlist::iterator& bl) {
+ void decode_server_state(bufferlist::iterator& bl) override {
DECODE_START_LEGACY_COMPAT_LEN(3, 3, 3, bl);
::decode(last_snap, bl);
::decode(snaps, bl);
static void generate_test_instances(list<SnapServer*>& ls);
// server bits
- void _prepare(bufferlist &bl, uint64_t reqid, mds_rank_t bymds);
+ void _prepare(bufferlist &bl, uint64_t reqid, mds_rank_t bymds) override;
bool _is_prepared(version_t tid);
- bool _commit(version_t tid, MMDSTableRequest *req=NULL);
- void _rollback(version_t tid);
- void _server_update(bufferlist& bl);
- void handle_query(MMDSTableRequest *m);
+ bool _commit(version_t tid, MMDSTableRequest *req=NULL) override;
+ void _rollback(version_t tid) override;
+ void _server_update(bufferlist& bl) override;
+ void handle_query(MMDSTableRequest *m) override;
void check_osd_map(bool force);
};