Re: How to migrate deltas from file to mongoDB storage

2014-07-20 Thread Pablo Ojanguren
My apologise, I've checkout my local repo when I have the fix. I don't know if Yuri can push the fix himself or if he needs a patch from me. Thank you again! 2014-07-20 22:29 GMT+02:00 Ben Hegarty : > hmm thats odd as I keep having to patch this change in when I pull from > wave master... > > h

Re: How to migrate deltas from file to mongoDB storage

2014-07-20 Thread Ben Hegarty
hmm thats odd as I keep having to patch this change in when I pull from wave master... here's master currently, and the return value isn't used can we confirm that the correct patch got applied? line 140 should read ... *waveletDelta = MongoDbDeltaStoreUtil.deserializeWaveletDeltaRecord(result);*

Re: How to migrate deltas from file to mongoDB storage

2014-07-20 Thread Pablo Ojanguren
Hi Ben, sorry I forgotten to answer you before. Yes, this bug was fixed in the commit to the repo. I think you saw a non final revision of the patch. Thank you for remind it! 2014-07-20 14:27 GMT+02:00 Ben Hegarty : > Hi Guys, > > Just curious if this has been fixed as you're now discussing doi

Re: How to migrate deltas from file to mongoDB storage

2014-07-20 Thread Yuri Z
rc5 includes script to migrate deltas to mongodb On Jul 20, 2014 3:28 PM, "Ben Hegarty" wrote: > Hi Guys, > > Just curious if this has been fixed as you're now discussing doing a > release and Mongodb support seems to be a headline feature of the release > and without this patch its slightly brok

Re: How to migrate deltas from file to mongoDB storage

2014-07-20 Thread Ben Hegarty
Hi Guys, Just curious if this has been fixed as you're now discussing doing a release and Mongodb support seems to be a headline feature of the release and without this patch its slightly broken. Regards On Mon, Mar 3, 2014 at 5:57 PM, Ben Hegarty wrote: > just as an FYI there is a bug in the

Re: How to migrate deltas from file to mongoDB storage

2014-04-11 Thread Pablo Ojanguren
Thanks for the answer Ali. I will do that, I will improve the export/import tool in order to make full dumps. It's absolutely necessary to migrate current installations of WiAB and other flavors like Kune. 2014-04-10 20:27 GMT+02:00 Ali Lown : > Pablo, > > There does not currently exist a meth

Re: How to migrate deltas from file to mongoDB storage

2014-04-10 Thread Ali Lown
Pablo, There does not currently exist a method of exporting all waves from the server. The import/export tool was written in mind for a particular user moving from GWave->WIAB, so they would have only cared about waves that a particular user was a participant in. The export tool just uses the li

Re: How to migrate deltas from file to mongoDB storage

2014-04-09 Thread Pablo Ojanguren
I have been playing with wave export/import tool and it works great and of course it allows to move then from disk to mongodb. But it only exports those waves of the user we use to execute the tool. So from an administration point of view I can't perform a full dump of waves. Does anybody know if

Re: How to migrate deltas from file to mongoDB storage

2014-03-03 Thread Pablo Ojanguren
Yes, I was pending to check out your patch! Thank you very much! 2014-03-03 18:57 GMT+01:00 Ben Hegarty : > just as an FYI there is a bug in the mongodb impl in the file > MongoDbDeltaCollection.java here... > > 129 @Override > 130 public WaveletDeltaRecord getDeltaByEndVersion(long version

Re: How to migrate deltas from file to mongoDB storage

2014-03-03 Thread Ben Hegarty
just as an FYI there is a bug in the mongodb impl in the file MongoDbDeltaCollection.java here... 129 @Override 130 public WaveletDeltaRecord getDeltaByEndVersion(long version) throws IOException { 131 DBObject query = createWaveletDBQuery(); 132 query.put(MongoDbDeltaStoreUtil.FIELD_TRAN

Re: How to migrate deltas from file to mongoDB storage

2014-03-03 Thread Pablo Ojanguren
Great whether import/export tools are realiable. I will perform test too. Thanks 2014-03-03 17:59 GMT+01:00 Yuri Z : > I guess it might work. I ll try it out. > On Mar 3, 2014 6:53 PM, "Pablo Ojanguren" wrote: > > > Hi, > > > > I wonder if we could use existing delta export/import utilities to

Re: How to migrate deltas from file to mongoDB storage

2014-03-03 Thread Yuri Z
I guess it might work. I ll try it out. On Mar 3, 2014 6:53 PM, "Pablo Ojanguren" wrote: > Hi, > > I wonder if we could use existing delta export/import utilities to perform > such migration. These would be the steps to perform: > > 1) Run export utility and get a full backup of deltas > 2) Chang