Stop snapshot-anchor warning flood during state checks
This commit is contained in:
parent
624bd29bf9
commit
88d9717513
|
|
@ -11,7 +11,6 @@
|
||||||
#include "amduat/enc/asl_core_index.h"
|
#include "amduat/enc/asl_core_index.h"
|
||||||
#include "amduat/enc/asl_log.h"
|
#include "amduat/enc/asl_log.h"
|
||||||
#include "amduat/hash/asl1.h"
|
#include "amduat/hash/asl1.h"
|
||||||
#include "amduat/util/log.h"
|
|
||||||
|
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
@ -3827,13 +3826,6 @@ static bool amduat_asl_store_index_fs_current_state_impl(
|
||||||
if (manifest.anchor_logseq > out_state->log_position) {
|
if (manifest.anchor_logseq > out_state->log_position) {
|
||||||
out_state->log_position = manifest.anchor_logseq;
|
out_state->log_position = manifest.anchor_logseq;
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
amduat_log(
|
|
||||||
AMDUAT_LOG_WARN,
|
|
||||||
"index snapshot anchor beyond log tail; ignoring snapshot (snapshot=%" PRIu64 " anchor=%" PRIu64 " log_tail=%" PRIu64 ")",
|
|
||||||
(uint64_t)manifest.snapshot_id,
|
|
||||||
(uint64_t)manifest.anchor_logseq,
|
|
||||||
(uint64_t)last_logseq);
|
|
||||||
}
|
}
|
||||||
amduat_asl_snapshot_manifest_free(&manifest);
|
amduat_asl_snapshot_manifest_free(&manifest);
|
||||||
} else if (record_count != 0u &&
|
} else if (record_count != 0u &&
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue