Bugs item #1896755, was opened at 2008-02-19 09:45
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1896755&group_id=56967

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: PF/runtime
Group: MonetDB4 4.22
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Wouter Alink (vzzzbx)
Assigned to: Nobody/Anonymous (nobody)
Summary: XQ: updates under stress

Initial Comment:
updates can still corrupt an xml-document. 

in the attached 'bug.tgz' there is a tiny script that repeatedly does two 
things:

- check the validity of an xml-document under stress 
- do a small update on an xml-document

if this script is run it will only output 0's, meaning that the document is 
still valid. if this script is run  in 3 threads at the same time, it will 
(within short time) return non-'0' values, which indicate the document has been 
corrupted.

how to use the script:

- start bin/Mserver --dbinit="module(pathfinder);"
- insert start.xml as an updatable document named 'test.xml', for example with 
a free-percentage of 10
- start do.sh in 3 different shells
- wait



this was tested with the monetdb-install.sh script (on feb 12). monetdb says:
# MonetDB Server v4.22.0
# based on GDK   v1.22.0
# Copyright (c) 1993-2008, CWI. All rights reserved.
# Compiled for x86_64-redhat-linux-gnu/64bit with 64bit OIDs; dynamically 
linked.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1896755&group_id=56967

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to