mirror of
https://github.com/ceph/ceph
synced 2025-02-22 10:37:15 +00:00
Merge pull request #38573 from batrick/i48600
osd: remove invalid put on message Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
8638101531
@ -255,7 +255,7 @@ public:
|
||||
void send_message_osd_cluster(int peer, Message *m, epoch_t from_epoch);
|
||||
void send_message_osd_cluster(std::vector<std::pair<int, Message*>>& messages, epoch_t from_epoch);
|
||||
void send_message_osd_cluster(MessageRef m, Connection *con) {
|
||||
con->send_message2(m);
|
||||
con->send_message2(std::move(m));
|
||||
}
|
||||
void send_message_osd_cluster(Message *m, const ConnectionRef& con) {
|
||||
con->send_message(m);
|
||||
|
@ -764,7 +764,6 @@ void PG::send_cluster_message(
|
||||
ConnectionRef con = osd->get_con_osd_cluster(
|
||||
target, get_osdmap_epoch());
|
||||
if (!con) {
|
||||
m->put();
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user