couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hristo Trendev <dist.li...@gmail.com>
Subject how to compact a shard in 2.0?
Date Fri, 15 May 2015 15:48:45 GMT
Hello,

I have installed the 2.0 developer preview and I cannot figure out how to
compact a database. Trying with

curl http://localhost:5984/<db>/_compact

results in

{"error":"forbidden","reason":"Compaction must be triggered on a per-shard
basis in CouchDB"}

I have found this related GUI ticket
https://issues.apache.org/jira/browse/COUCHDB-2492, but there is no hint
how to actually start the compaction process manually. I have also read in
an email on the dev list, that this needs to be run against the 5986 port,
but again no clue what the exact URL is. I have tried to guess it, but none
of the combinations that I've tried did work.

Has anybody had any success with it?

BR,
Hristo

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message