diff options
author | Greg Studer <greg@10gen.com> | 2014-04-09 12:51:18 -0400 |
---|---|---|
committer | Greg Studer <greg@10gen.com> | 2014-04-11 17:01:15 -0400 |
commit | 0b1994a25c85324ea413a95ace2470be3efb7db5 (patch) | |
tree | ba048135fb5844854d6e0ddeac228eafef1224b4 /src/mongo/s/write_ops/write_op.cpp | |
parent | 4b589d8aab1675e03dc7efafc32239bda660fe96 (diff) | |
download | mongo-0b1994a25c85324ea413a95ace2470be3efb7db5.tar.gz |
SERVER-13518 break child batches up by size or number of documents
Diffstat (limited to 'src/mongo/s/write_ops/write_op.cpp')
-rw-r--r-- | src/mongo/s/write_ops/write_op.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/s/write_ops/write_op.cpp b/src/mongo/s/write_ops/write_op.cpp index 6eadc571449..f8097154ce2 100644 --- a/src/mongo/s/write_ops/write_op.cpp +++ b/src/mongo/s/write_ops/write_op.cpp @@ -47,6 +47,10 @@ namespace mongo { clear( &_history ); } + const BatchItemRef& WriteOp::getWriteItem() const { + return _itemRef; + } + WriteOpState WriteOp::getWriteState() const { return _state; } |