Changeset: a3f2a0742570 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a3f2a0742570
Modified Files:
        monetdb5/mal/mal_dataflow.c
Branch: default
Log Message:

disabled call to MALresourceFairness, as we need a valid flow
structure for this, but calling it after the enqueue isn't save.
The flow structure may allready been freed.

(this isn't a proper fix, but sure solves the current random crashes)


diffs (15 lines):

diff --git a/monetdb5/mal/mal_dataflow.c b/monetdb5/mal/mal_dataflow.c
--- a/monetdb5/mal/mal_dataflow.c
+++ b/monetdb5/mal/mal_dataflow.c
@@ -347,9 +347,11 @@ DFLOWworker(void *t)
                        assert(todo);
                        if (todo->last == 0)
                                profilerHeartbeatEvent("wait");
+                       /*
                        else
                        if ( flow->cntxt->idx > 1 )
                                        MALresourceFairness(GDKusec()- 
flow->mb->starttime);
+                                       */
                }
        }
        GDKfree(GDKerrbuf);
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to