aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@oath.com>2017-10-23 09:39:48 +0000
committerTor Egge <Tor.Egge@oath.com>2017-10-23 09:39:48 +0000
commit42c4ed212873712e70906868833c29ffd98c0e19 (patch)
tree3b9a54d9485e00aa043c763ff81521edd2d49004
parent9cedca1b783ddbc5848c57f47eba18d6455352b5 (diff)
Use bucket space from existing multi operation command when creating
new multi operation commands.
-rw-r--r--storage/src/vespa/storage/distributor/operations/external/multioperationoperation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/src/vespa/storage/distributor/operations/external/multioperationoperation.cpp b/storage/src/vespa/storage/distributor/operations/external/multioperationoperation.cpp
index a3fb083890b..19c693e2a7f 100644
--- a/storage/src/vespa/storage/distributor/operations/external/multioperationoperation.cpp
+++ b/storage/src/vespa/storage/distributor/operations/external/multioperationoperation.cpp
@@ -192,7 +192,7 @@ MultiOperationOperation::onStart(DistributorMessageSender& sender)
}
assert(blockSize > 4);
- document::Bucket bucket(BucketSpace::placeHolder(), bucketIt->first);
+ document::Bucket bucket(_msg->getBucket().getBucketSpace(), bucketIt->first);
//now create a MultiOperationCommand with the new DocumentList
std::shared_ptr<api::MultiOperationCommand>
command(new api::MultiOperationCommand(