We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8987c21 + c9dfe49 commit 9ebe16dCopy full SHA for 9ebe16d
libsql-server/src/namespace/configurator/helpers.rs
@@ -63,7 +63,12 @@ pub(super) async fn make_primary_connection_maker(
63
let mut is_dirty = {
64
let sentinel_path = db_path.join(".sentinel");
65
if sentinel_path.try_exists()? {
66
- true
+ if std::env::var("LIBSQL_IGNORE_DIRTY_LOG").is_ok() {
67
+ tracing::warn!("ignoring dirty log");
68
+ false
69
+ } else {
70
+ true
71
+ }
72
} else {
73
tokio::fs::File::create(&sentinel_path).await?;
74
false
0 commit comments