physical database movement without shutting down couchdb

2014-09-24 Thread Pavlo Tilinin
Dear users, Is there any way to move database files physically without shutting-down whole couchdb engine? My environment: Couchdb v1.2.0, Ubuntu server 12.04, 300 couch databases which totally consume more than 300GB of space. Largest database has size 25GB, about twenty databases of size

Re: physical database movement without shutting down couchdb

2014-09-24 Thread James Dingwall
Pavlo Tilinin wrote: Dear users, Is there any way to move database files physically without shutting-down whole couchdb engine? Could you use mdadm with the build option to mirror the current device to the new device, remove the old device from the mirror and then perform a resize operation

RE: physical database movement without shutting down couchdb

2014-09-24 Thread Pavlo Tilinin
Dear James, Hm, build I was thought about classical way with --create and then --manage --add.. and stumbled on requirement to have some space at the end of drive for superblocks (which I don't have).. But --build doesn't require superblock... Good idea, need to check. Thanks!!! --

Re: [NEWS] Your links for the CouchDB Weekly News

2014-09-24 Thread Noah Slater
I submit your slide deck from JS Conf. :) Would be good to include I think! On 23 September 2014 18:37, Lena Reinhard l...@thehoodiefirm.com wrote: Hi folks, if you want to submit a link for this week's CouchDB Weekly News, please send it to me until thursday, September 25, 2014, 12pm UTC+2.

Re: Fun with dates on CouchDB 1.5.0 and 1.5.1

2014-09-24 Thread Mike Marino
Hi Luca, I have not personally seen this and we certainly use Date parsing in our views, though it's possible we jumped over 1.5.1 and went straight to 1.6(.1). Perhaps a few things to try to shed some more light here. What do the couchjs executables look like on each system? That is:

Re: Fun with dates on CouchDB 1.5.0 and 1.5.1

2014-09-24 Thread Luca Morandini
On 25/09/14 01:14, Mike Marino wrote: Thanks for your time, Mike; here's what you requested: couchjs -V couchjs - Apache CouchDB 1.5.1 cat test.js var o = new Date(Date.parse(2014-06-11T04:46:09.011Z)); print(o); couchjs test.js Invalid Date ldd `which couchjs` linux-vdso.so.1 =

Re: Fun with dates on CouchDB 1.5.0 and 1.5.1

2014-09-24 Thread Mike Marino
Hi Luca, couchjs is linking against libjs, not spidermonkey (currently supported 1.8.5, should be libmozjs185.so). A few questions: - Did you compile couchjs as well with couchdb, or did you install it separately e.g. with node.js? - If you compiled, did you compile/install spidermonkey? - Did