Skip to content

Commit

Permalink
client: fix stale entries in command table
Browse files Browse the repository at this point in the history
This patch is Jewel-specific because in Kraken
this code was already refactored for CommandTable
and got fixed in the process.

Fixes: http://tracker.ceph.com/issues/17974
Signed-off-by: John Spray <john.spray@redhat.com>
  • Loading branch information
John Spray committed Nov 22, 2016
1 parent 5e079cf commit ea9665b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/client/Client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5509,6 +5509,8 @@ void Client::handle_command_reply(MCommandReply *m)
op.on_finish->complete(m->r);
}

commands.erase(opiter);

m->put();
}

Expand Down

0 comments on commit ea9665b

Please sign in to comment.