Bugs item #2144912, was opened at 2008-10-03 21:18
Message generated for change (Comment added) made by stmane
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2144912&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: None
Group: MonetDB4 "stable"
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: marspluto (juntezhang)
Assigned to: Ying Zhang (yingying)
Summary: ERROR = !ERROR: CMDtj_throw2collection: operation failed.

Initial Comment:
I am trying to restore a database that was backed up. 
I used the admin GUI, but it is not very stable, likely because of my libxml2 
version...

So I am trying to do it directly in the mclient.

The backup seems to be going ok.

$mclient -lx
xquery>import module namespace adm =
"http://monetdb.cwi.nl/XQuery/admin/"; at
"/home/xxx/mdb/share/MonetDB/xrpc/admin/admin.xq";
adm:backup("backup1")
more><>

I then delete everything in the current database, which was in my case the 
collection "KB".

xquery>import module namespace adm =
"http://monetdb.cwi.nl/XQuery/admin/"; at
"/home/xxx/mdb/share/MonetDB/xrpc/admin/admin.xq"; adm:del-col("KB")
more><>

Then I try to restore the backed up database. However, I get an error when I 
try to restore:

import module namespace adm = "http://monetdb.cwi.nl/XQuery/admin/"; at
"/home/xxx/mdb/share/MonetDB/xrpc/admin/admin.xq";
adm:restore("backup1", 10)
more><>

ERROR = !ERROR: CMDtj_throw2collection: operation failed.

I noticed that this error was occurring after I was figuring out why a backed 
up database was not working when importing it on another computer using the 
Admin GUI (only giving me errors while executing queries). I tried to restore 
the database on the same computer using the Admin GUI, and it was also not 
working. So I used the mclient directly, and it gave me that error.

I would like to backup a database. I also would like to share that database 
with someone else, and share it between computers with different versions of 
MonetDB.

The sum size of my files is about 1GB, consisting of a few million library 
records in pretty flat structure.

Thanks,
   junte

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

>Comment By: Stefan Manegold (stmane)
Date: 2009-02-17 13:08

Message:
So, what do the xrpc admin tests say then?
Is this problem reproducible, or does it work as expected?

In the first case, please poin to the failing test the reproduces the
problem,
in the latter case, point to the succeeding test and close this one, e.g.,
with "works for me".

Thanks.


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

Comment By: Ying Zhang (yingying)
Date: 2009-02-17 12:39

Message:
Thanks for the reminder.  However, there is no need to add a test for this
case, as it is already covered by the admin function tests.

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

Comment By: Stefan Manegold (stmane)
Date: 2009-02-15 21:38

Message:
Jennie,

since you already tried to reproduce the problem, you you please add a
test for it?
Then we can see how it works with the upcoming release ...

Thanks!

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

Comment By: marspluto (juntezhang)
Date: 2008-10-15 13:10

Message:
Hi Jennie,

- how did you install monetdb/xquery?

I installed the June release from CVS.

- which OS are you using

Fedora Core 6 (desktop) and FC 9 on the server.

- specification of your machine.

Desktop: Intel D 3GHZ, 2GB main memory, 250GB harddisk.
Server: Quad Core, 16GB main memory, 6x500GB.

If you need more information, let me know.
 
   junte


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

Comment By: Ying Zhang (yingying)
Date: 2008-10-07 11:20

Message:
Hello Junte,

I tried your query on with the stable version (compiled from cvs source)
on a 64bits AMD machine with Fedora 8, but I could not reproduce your
problem.  Could you please give us more information about
- how did you install monetdb/xquery?
- which OS are you using
- specification of your machine.

Regards,

Jennie

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

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

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to