summaryrefslogtreecommitdiff
path: root/src/mongo/db/write_concern.h
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@mongodb.com>2014-09-12 15:27:36 -0400
committerSpencer T Brody <spencer@mongodb.com>2014-09-14 18:29:05 -0400
commit93f961084fa9c9969b0a04445d364ea7056d8efc (patch)
tree8e34c5dba9addad496f867c6aaa7206dacec7e59 /src/mongo/db/write_concern.h
parent2d8603ecc535b0ff980fe537a7fe16c06d687bb6 (diff)
downloadmongo-93f961084fa9c9969b0a04445d364ea7056d8efc.tar.gz
SERVER-15195 Implement getHostsWrittenTo in ReplicationCoordinatorImpl
Diffstat (limited to 'src/mongo/db/write_concern.h')
-rw-r--r--src/mongo/db/write_concern.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/write_concern.h b/src/mongo/db/write_concern.h
index 6e4a1c30087..98d7893a2e1 100644
--- a/src/mongo/db/write_concern.h
+++ b/src/mongo/db/write_concern.h
@@ -29,6 +29,7 @@
#pragma once
#include "mongo/db/write_concern_options.h"
+#include "mongo/util/net/hostandport.h"
namespace mongo {
@@ -59,7 +60,7 @@ namespace mongo {
bool wTimedOut;
int wTime;
- std::vector<BSONObj> writtenTo;
+ std::vector<HostAndPort> writtenTo;
std::string err; // this is the old err field, should deprecate
};