aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-08-02 17:15:27 +0200
committerGitHub <noreply@github.com>2021-08-02 17:15:27 +0200
commitd69352923101ecfddb3d988da6f3d72d3f4c5215 (patch)
treecd56d04ab3b24aa69e34c068dc566b5be3198ffa
parent79c648bfc5e41b9d9e756ff5627bc90c67354bba (diff)
parentb633b82db532094dbb2cb76716e05d4baf7f4e81 (diff)
Merge pull request #18671 from vespa-engine/balder/exit-instead-of-creating-coredump
Use std::quick_exit instead of abort to avoid coredump when it will n…
-rw-r--r--storage/src/vespa/storage/storageserver/distributornode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/src/vespa/storage/storageserver/distributornode.cpp b/storage/src/vespa/storage/storageserver/distributornode.cpp
index 51fa0c01c96..657491688e4 100644
--- a/storage/src/vespa/storage/storageserver/distributornode.cpp
+++ b/storage/src/vespa/storage/storageserver/distributornode.cpp
@@ -127,7 +127,7 @@ DistributorNode::generate_unique_timestamp()
"%u timestamps were generated within this time period.",
SanityCheckMaxWallClockSecondSkew, now_seconds,_timestamp_second_counter,
_intra_second_pseudo_usec_counter);
- abort();
+ std::quick_exit(66);
}
assert(_intra_second_pseudo_usec_counter < 1'000'000);
++_intra_second_pseudo_usec_counter;