Open mbautin opened 3 years ago
Ran into same DCHECK during local testing on mac.
F20220802 20:21:29 ../../src/yb/util/hdr_histogram.cc:181] Check failed: value >= 0 (-3006 vs. 0)
2 @ 0x10a09a510 google::LogDestination::LogToSinks()
3 @ 0x10a099648 google::LogMessage::SendToLog()
4 @ 0x10a09a004 google::LogMessage::Flush()
5 @ 0x10a09e038 google::LogMessageFatal::~LogMessageFatal()
6 @ 0x10a09af54 google::LogMessageFatal::~LogMessageFatal()
7 @ 0x116f7591c yb::HdrHistogram::IncrementBy()
8 @ 0x116f75860 yb::HdrHistogram::Increment()
9 @ 0x116ff8b18 yb::Histogram::Increment()
10 @ 0x112172230 rocksdb::StatisticsMetricImpl::measureTime()
11 @ 0x111b9a778 rocksdb::StopWatch::~StopWatch()
12 @ 0x111b6608c rocksdb::StopWatch::~StopWatch()
13 @ 0x111b6e704 rocksdb::DBImpl::WriteImpl()
14 @ 0x111b6c480 rocksdb::DBImpl::Write()
15 @ 0x10634c91c yb::tablet::Tablet::WriteToRocksDB()
16 @ 0x10634b8fc yb::tablet::Tablet::ApplyKeyValueRowOperations()
17 @ 0x10634b024 yb::tablet::Tablet::ApplyOperation()
18 @ 0x10634a9e4 yb::tablet::Tablet::ApplyRowOperations()
19 @ 0x1063fe968 yb::tablet::TabletBootstrap::PlayWriteRequest()
20 @ 0x1063fdd1c yb::tablet::TabletBootstrap::PlayAnyRequest()
21 @ 0x1063fca38 yb::tablet::TabletBootstrap::MaybeReplayCommittedEntry()
22 @ 0x1063f3afc yb::tablet::TabletBootstrap::ApplyCommittedPendingReplicates()
23 @ 0x1063f8184 yb::tablet::TabletBootstrap::HandleReplicateMessage()
24 @ 0x1063f2d40 yb::tablet::TabletBootstrap::HandleEntry()
25 @ 0x1063eb4e0 yb::tablet::TabletBootstrap::PlaySegments()
26 @ 0x1063e32a0 yb::tablet::TabletBootstrap::Bootstrap()
27 @ 0x1063e2024 yb::tablet::BootstrapTabletImpl()
28 @ 0x106415b80 yb::tablet::BootstrapTablet()
29 @ 0x103f4cd10 yb::tserver::TSTabletManager::OpenTablet()
30 @ 0x103f84948 _ZNSt3__1L8__invokeIRMN2yb7tserver15TSTabletManagerEFvRK13scoped_refptrINS1_6tablet17RaftGroupMetadataEERKS4_INS2_27TransitionInProgressDeleterEEERPS3_JRS7_RSB_EvEEDTcldsdescT0_fp0_fp_spscT1_fp1_EEOT_OSL_DpOSM_
31 @ 0x103f848bc _ZNSt3__1L15__apply_functorIMN2yb7tserver15TSTabletManagerEFvRK13scoped_refptrINS1_6tablet17RaftGroupMetadataEERKS4_INS2_27TransitionInProgressDeleterEEENS_5tupleIJPS3_S7_SB_EEEJLm0ELm1ELm2EENSG_IJEEEEENS_13__bind_r
32 @ 0x103f84844 _ZNSt3__16__bindIMN2yb7tserver15TSTabletManagerEFvRK13scoped_refptrINS1_6tablet17RaftGroupMetadataEERKS4_INS2_27TransitionInProgressDeleterEEEJPS3_S9_RSB_EEclIJEEENS_13__bind_returnISF_NS_5tupleIJSG_S7_SB_EEENSL_IJD
33 @ 0x103f845e0 yb::RunnableImpl<>::Run()
Jira Link: DB-10502 Failed here: https://github.com/yugabyte/yugabyte-db/runs/3024850292 Commit: 362723816c20eb4650861729d4e53e8bf42c3174
Log: https://gist.githubusercontent.com/mbautin/8f5983db88351330bef1d0782dc24be2/raw
Could this be because HdrHistogram has already been destroyed by the time the IncrementBy call is happening?