Changeset: ade08f21e32f for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=ade08f21e32f
Modified Files:
        sql/storage/store.c
Branch: Nov2019
Log Message:

make sure we flush when the user asks for it, ie even if there are
no changes.


diffs (15 lines):

diff --git a/sql/storage/store.c b/sql/storage/store.c
--- a/sql/storage/store.c
+++ b/sql/storage/store.c
@@ -2131,8 +2131,10 @@ flusher_should_run(void)
        // Read and clear flush_now. If we decide not to flush
        // we'll put it back.
        bool my_flush_now = (bool) ATOMIC_XCG(&flusher.flush_now, 0);
-       if (my_flush_now)
+       if (my_flush_now) {
                reason_to = "user request";
+               reason_not_to = NULL;
+       }
 
        if (ATOMIC_GET(&store_nr_active) > 0)
                reason_not_to = "awaiting idle time";
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to