Skip to content

Commit

Permalink
Merge pull request apache#36 from jikunshang/rebase_oap_master
Browse files Browse the repository at this point in the history
fix SendCreateRequest, miss a parameter
  • Loading branch information
Ferdinand Xu authored Apr 28, 2020
2 parents d09067d + 7b2ce26 commit 051c679
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cpp/src/plasma/protocol.cc
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,9 @@ Status SendCreateRequest(const std::shared_ptr<ServerConnection>& client,
ObjectID object_id, bool evict_if_full, int64_t data_size,
int64_t metadata_size, int device_num) {
flatbuffers::FlatBufferBuilder fbb;
auto message = fb::CreatePlasmaCreateRequest(fbb, fbb.CreateString(object_id.binary()),
data_size, metadata_size, device_num);
auto message =
fb::CreatePlasmaCreateRequest(fbb, fbb.CreateString(object_id.binary()),
evict_if_full, data_size, metadata_size, device_num);
fbb.Finish(message);
return PlasmaSend(client, MessageType::PlasmaCreateRequest, &fbb);
}
Expand Down

0 comments on commit 051c679

Please sign in to comment.