Changeset: f79838acfedc for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/f79838acfedc
Modified Files:
sql/storage/store.c
Branch: Jul2021
Log Message:
add some more debug output wal logging (or cases unsucceful of log rotating)
diffs (23 lines):
diff --git a/sql/storage/store.c b/sql/storage/store.c
--- a/sql/storage/store.c
+++ b/sql/storage/store.c
@@ -2212,6 +2212,7 @@ store_apply_deltas(sqlstore *store)
store_lock(store);
ulng oldest = store_oldest_pending(store);
store_unlock(store);
+ TRC_DEBUG(SQL_STORE, "Store aplly deltas (" ULLFMT ")\n", oldest-1);
if (oldest)
res = store->logger_api.flush(store, oldest-1);
flusher.working = false;
@@ -2330,8 +2331,10 @@ store_manager(sqlstore *store)
MT_sleep_ms(sleeptime);
flusher.countdown_ms -= sleeptime;
MT_lock_set(&store->flush);
- if (store->logger_api.changes(store) <= 0)
+ if (store->logger_api.changes(store) <= 0) {
+ TRC_DEBUG(SQL_STORE, "Store flusher, no changes\n");
continue;
+ }
if (GDKexiting())
break;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]