diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2021-12-07 11:03:20 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2021-12-07 11:03:20 +0000 |
commit | 5d5c235225f27f7997cb6dc0292302a0b19773c8 (patch) | |
tree | 8fb13dbfab875a494f5268ac1e1a9291146dba30 /searchlib | |
parent | 5b5eb1e96f05675f5defeaf39252cff6729fbf81 (diff) |
Add comment about required lifetime for the CommitChunk.
Diffstat (limited to 'searchlib')
-rw-r--r-- | searchlib/src/vespa/searchlib/transactionlog/ichunk.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/searchlib/src/vespa/searchlib/transactionlog/ichunk.h b/searchlib/src/vespa/searchlib/transactionlog/ichunk.h index d1de1c9c893..e5daeb810f4 100644 --- a/searchlib/src/vespa/searchlib/transactionlog/ichunk.h +++ b/searchlib/src/vespa/searchlib/transactionlog/ichunk.h @@ -48,6 +48,7 @@ public: size_t getNumEntries() const { return _numEntries; } const CommitChunk & commitChunk() const { return *_commitChunk; } private: + // CommitChunk is required to ensure we do not reply until committed to the TLS. std::unique_ptr<CommitChunk> _commitChunk; vespalib::nbostream _os; SerialNumRange _range; |