We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c5cf98 commit 8bca0d3Copy full SHA for 8bca0d3
src/txgraph.cpp
@@ -1008,7 +1008,7 @@ void TxGraphImpl::Compact() noexcept
1008
// to rewrite them. It is easier to delay the compaction until they have been applied.
1009
if (!m_main_clusterset.m_deps_to_add.empty()) return;
1010
if (!m_main_clusterset.m_to_remove.empty()) return;
1011
- if (!m_main_clusterset.m_removed.empty()) return;
+ Assume(m_main_clusterset.m_removed.empty()); // non-staging m_removed is always empty
1012
if (m_staging_clusterset.has_value()) {
1013
if (!m_staging_clusterset->m_deps_to_add.empty()) return;
1014
if (!m_staging_clusterset->m_to_remove.empty()) return;
0 commit comments