diff options
author | Tor Egge <Tor.Egge@oath.com> | 2017-10-23 09:25:32 +0000 |
---|---|---|
committer | Tor Egge <Tor.Egge@oath.com> | 2017-10-23 09:25:32 +0000 |
commit | 9cedca1b783ddbc5848c57f47eba18d6455352b5 (patch) | |
tree | 0e485572d1272246ecdcd95227393b76f760d85f /storage | |
parent | 01a9901a80ab0a6ab87add655492f4c2c1dd167f (diff) |
Use bucket space in existing get command when creating new get commands.
Diffstat (limited to 'storage')
-rw-r--r-- | storage/src/vespa/storage/distributor/operations/external/getoperation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/src/vespa/storage/distributor/operations/external/getoperation.cpp b/storage/src/vespa/storage/distributor/operations/external/getoperation.cpp index 20a804180f5..b71e2728f5b 100644 --- a/storage/src/vespa/storage/distributor/operations/external/getoperation.cpp +++ b/storage/src/vespa/storage/distributor/operations/external/getoperation.cpp @@ -100,7 +100,7 @@ GetOperation::sendForChecksum(DistributorMessageSender& sender, const int best = findBestUnsentTarget(res); if (best != -1) { - document::Bucket bucket(BucketSpace::placeHolder(), id); + document::Bucket bucket(_msg->getBucket().getBucketSpace(), id); std::shared_ptr<api::GetCommand> command( std::make_shared<api::GetCommand>( bucket, |