aboutsummaryrefslogtreecommitdiffstats
path: root/storageapi/src/vespa/storageapi/message/persistence.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'storageapi/src/vespa/storageapi/message/persistence.cpp')
-rw-r--r--storageapi/src/vespa/storageapi/message/persistence.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/storageapi/src/vespa/storageapi/message/persistence.cpp b/storageapi/src/vespa/storageapi/message/persistence.cpp
index 0b641eea253..8bd4f648f30 100644
--- a/storageapi/src/vespa/storageapi/message/persistence.cpp
+++ b/storageapi/src/vespa/storageapi/message/persistence.cpp
@@ -207,13 +207,17 @@ GetCommand::print(std::ostream& out, bool verbose, const std::string& indent) co
}
}
-GetReply::GetReply(const GetCommand& cmd, const DocumentSP& doc, Timestamp lastModified)
+GetReply::GetReply(const GetCommand& cmd,
+ const DocumentSP& doc,
+ Timestamp lastModified,
+ bool had_consistent_replicas)
: BucketInfoReply(cmd),
_docId(cmd.getDocumentId()),
_fieldSet(cmd.getFieldSet()),
_doc(doc),
_beforeTimestamp(cmd.getBeforeTimestamp()),
- _lastModifiedTime(lastModified)
+ _lastModifiedTime(lastModified),
+ _had_consistent_replicas(had_consistent_replicas)
{
}