insert into t (select * from t) bogus in multithreaded execution #2883
Blocker for: #2882
Date: 2011-09-15 15:45:55 +0200
Created attachment 73
On a multicore system, dataflow can cause that the subject query inserts more into the table than it should.
create table t (i int);
After these queries there should be 4 elements in t, but I get 6. The reason is that the insertions table is appended to first (assignment to X_44 in trace) before that same table is used to find old inserted values that have to be copied (assignment to X_9 in trace).
Date: 2011-09-15 23:39:42 +0200
The cause are the multiple mitosis plans, who each
Date: 2011-09-16 10:13:42 +0200
For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=7e2a2426e682
Date: 2011-09-16 15:48:57 +0200
For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=c22ffd42d642
Date: 2011-09-16 15:49:50 +0200
The bug has been fixed. No separate test is needed since the test for bug #2882 covers this issue as well.
Date: 2011-09-19 15:00:18 +0200
Could this fix be the cause of orphans on intel Darwin, and complete defunct processes on Solaris? (I just manually killed Python/Mtest, it doesn't seem to reap its childeren correctly)
Date: 2011-09-30 10:58:44 +0200
Released in Aug2011-SP1
Date: 2012-11-27 14:44:10 +0100
Covered by the test for bug #2882:
The text was updated successfully, but these errors were encountered: