On 2009-04-22 10:45, Stefan Manegold wrote:
> On Wed, Apr 22, 2009 at 10:35:58AM +0200, Sjoerd Mullender wrote:
>> On 2009-04-22 10:28, Niels Nes wrote:
>>> Update of /cvsroot/monetdb/sql/src/storage
>>> In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv10533/src/storage
>>>
>>> Modified Files:
>>> Tag: Feb2009
>>> store.mx
>>> Log Message:
>>> fixing bad concurrency bug
>> Bad enough to rebuild the release candidates?
>
> Probably not related to Niels' changes,, but possibly relevant for the
> release candidates:
>
> Tonight's stable testing shows very bad behaviour (segfaults / double frees)
> with many M5 & SQL tests on Linux:
> http://monetdb.cwi.nl/testing/projects/monetdb/Stable/MonetDB5/.mTests103/index_short.html
> http://monetdb.cwi.nl/testing/projects/monetdb/Stable/sql/.mTests103/index_short.html
I saw that. It didn't make me dance with joy.
> Though yet unconfirmed (working on it), I suspect
> ===================================================================
> 2009/04/20 - mlkersten: MonetDB5/src/mal/mal_session.mx,1.175.2.13
> sql/src/backends/monet5/sql_scenario.mx,1.334.2.3
> The handling of the global environment stack was not properly done
> upon exit of a session. This led to the situation that variables
> all appeared uninitialized.
> ===================================================================
>
> Due to a buggy checkin by me, there was no Stable testing yesterday, but
> yesterday's Current testing showed similar problems (AFAIK, the above
> changes were already propagated and hence included in yesterday Current
> testing).
>
> Stefan
>
>>> 1) we lost updates
>>> Problem was in the handling of the update bat, ie we need to always
>>> keep updates in the update bat. But already apply asap.
>>>
>>> 2) we got extra inserts (the hard problem)
>>> We incorrectly kept using an 'empty' bat. These are bats which should
>>> stay empty and are shared. But we incorrectly inserted data in it
>>> instead of replacing it with a new bat with data.
>>>
>>>
>>> U store.mx
>>> Index: store.mx
>>> ===================================================================
>>> RCS file: /cvsroot/monetdb/sql/src/storage/store.mx,v
>>> retrieving revision 1.25.2.1
>>> retrieving revision 1.25.2.2
>>> diff -u -d -r1.25.2.1 -r1.25.2.2
>>> --- store.mx 27 Feb 2009 22:23:00 -0000 1.25.2.1
>>> +++ store.mx 22 Apr 2009 08:28:22 -0000 1.25.2.2
>>> @@ -1850,8 +1850,8 @@
>>>
>>> t->name = NULL;
>>> if (bs_debug)
>>> - fprintf(stderr, "trans init (%d,%d)\n",
>>> - t->stime, t->schema_number );
>>> + fprintf(stderr, "trans (%p) init (%d,%d)\n",
>>> + t, t->stime, t->schema_number );
>>> return t;
>>> }
>>>
>>> @@ -2710,13 +2710,12 @@
>>> sql_schema *s = n->data;
>>> sql_schema *os;
>>>
>>> -
>>> if (isTempSchema(s))
>>> continue;
>>>
>>> os = find_sql_schema(tr->parent, s->base.name);
>>> if (os/* || (s->base.wtime == 0 && s->base.rtime ==
>>> 0)*/) {
>>> - if (!validate_tables(s, os))
>>> + if (!validate_tables(s, os))
>>> return 0;
>>> }
>>> }
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Stay on top of everything new and different, both inside and
>>> around Java (TM) technology - register by April 22, and save
>>> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
>>> 300 plus technical and hands-on sessions. Register today.
>>> Use priority code J9JMT32. http://p.sf.net/sfu/p
>>> _______________________________________________
>>> Monetdb-sql-checkins mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins
>>
>> --
>> Sjoerd Mullender
>>
>> ------------------------------------------------------------------------------
>> Stay on top of everything new and different, both inside and
>> around Java (TM) technology - register by April 22, and save
>> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
>> 300 plus technical and hands-on sessions. Register today.
>> Use priority code J9JMT32. http://p.sf.net/sfu/p
>> _______________________________________________
>> Monetdb-sql-checkins mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins
>>
>
--
Sjoerd Mullender
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Monetdb-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-developers