diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-08-08 16:54:58 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-08-08 16:54:58 +0200 |
commit | 841f58736169a4011d04d70f8dfc91e415ab21d2 (patch) | |
tree | 1f5f89fc33c2f7eb05a014da37e8aadaf98e1dc5 /searchlib | |
parent | cdc022264dead218193c4ce51fa29992a6ad43ae (diff) |
Break out on error before the end.
Diffstat (limited to 'searchlib')
-rw-r--r-- | searchlib/src/vespa/searchlib/docstore/filechunk.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/searchlib/src/vespa/searchlib/docstore/filechunk.cpp b/searchlib/src/vespa/searchlib/docstore/filechunk.cpp index 0f753b4914c..f271e6f320b 100644 --- a/searchlib/src/vespa/searchlib/docstore/filechunk.cpp +++ b/searchlib/src/vespa/searchlib/docstore/filechunk.cpp @@ -194,6 +194,7 @@ FileChunk::updateLidMap(const LockGuard &guard, ISetLid &ds, uint64_t serialNum, } else { throw SummaryException("Open for truncation failed.", toTruncate, VESPA_STRLOC); } + break; } } if ( ! tempVector.empty()) { |