Skip to content

Commit

Permalink
Minor.
Browse files Browse the repository at this point in the history
Signed-off-by: vegetableysm <[email protected]>
  • Loading branch information
vegetableysm committed Jul 25, 2024
1 parent 2ec511c commit d547c1f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/server/async/socket_server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1103,8 +1103,6 @@ bool SocketConnection::doDelData(const json& root) {
[self, startTime](const Status& status) {
std::string message_out;
if (status.ok()) {
LOG(INFO) << "After delete, migrating objects: ";
self->server_ptr_->PrintMigratingList();
WriteDelDataReply(message_out);
} else {
VLOG(100) << "Error: " << status.ToString();
Expand Down Expand Up @@ -1849,14 +1847,7 @@ bool SocketConnection::doReleaseBlobsWithRDMA(const json& root) {
TRY_READ_REQUEST(ReadReleaseBlobsWithRDMARequest, root, ids);

boost::asio::post(server_ptr_->GetIOContext(), [self, ids]() {
for (auto const& id : ids) {
LOG(INFO) << "Release blob: " << id;
}
LOG(INFO) << "Before unlock blobs:";
self->server_ptr_->PrintMigratingList();
self->server_ptr_->UnlockMigratingObjects(ids);
LOG(INFO) << "After unlock blobs:";
self->server_ptr_->PrintMigratingList();
std::string message_out;
WriteReleaseBlobsWithRDMAReply(message_out);
self->doWrite(message_out);
Expand Down

0 comments on commit d547c1f

Please sign in to comment.