Fix bug in driver
This commit is contained in:
@@ -126,7 +126,7 @@ public:
|
||||
sb->write_uint8(util::MSG_DIFF);
|
||||
sb->write_uint32(0);
|
||||
int64_t tw_1 = sb->total_writes();
|
||||
stdostream() << "Sending diffs to client " << client->actor_id_ << std::endl;
|
||||
//stdostream() << "Sending diffs to client " << client->actor_id_ << std::endl;
|
||||
client->sync_->diff_everything(client->actor_id_, master_.get(), sb);
|
||||
int64_t tw_2 = sb->total_writes();
|
||||
sb->overwrite_int32(tw_1, tw_2 - tw_1);
|
||||
@@ -150,12 +150,11 @@ public:
|
||||
delete_client(client);
|
||||
return false;
|
||||
}
|
||||
util::dprint("Received ", inv.debug_string());
|
||||
if (inv.actor() != client->actor_id_) {
|
||||
stdostream() << "Ignoring invoke with wrong actor ID " << inv.actor() << std::endl;
|
||||
return true;
|
||||
}
|
||||
stdostream() << "Invoking: " << inv.debug_string() << std::endl;
|
||||
//stdostream() << "Invoking: " << inv.debug_string() << std::endl;
|
||||
master_->invoke(inv);
|
||||
client->channel_->out()->write_uint8(util::MSG_ACK);
|
||||
client->channel_->out()->write_uint32(0);
|
||||
|
||||
Reference in New Issue
Block a user