Remove FD from the event loop in destroy_client, not in stop_client

This commit is contained in:
Vitaliy Filippov
2026-03-28 14:18:20 +03:00
parent 8f8172db99
commit f7cbb6ed56
4 changed files with 45 additions and 27 deletions
+1
View File
@@ -233,6 +233,7 @@ public:
void parse_config(const json11::Json & config);
void connect_peer(uint64_t osd_num, json11::Json peer_state);
void stop_client(int peer_fd, bool force = false, bool force_delete = false);
void destroy_client(osd_client_t *cl);
void outbox_push(osd_op_t *cur_op);
std::function<void(osd_op_t*)> exec_op;
std::function<void(osd_num_t)> repeer_pgs;