Whenever you want to compact, it's the only current method. Given the difficulty there, especially for view shards, we should consider adding _compact on 5984 (compact all shards at once).
Sent from my iPhone > On 27 Jul 2016, at 18:47, Joan Touzet <[email protected]> wrote: > > We had a question in IRC recently about compaction of individual shards > and having to go through the 5986 port. Some discussion of when this is > necessary and why would be most useful. > > -Joan > > ----- Original Message ----- >> From: "Mayya Sharipova" <[email protected]> >> To: [email protected] >> Sent: Wednesday, July 27, 2016 12:59:21 PM >> Subject: Re: CouchDB 2.0 blog series >> >> Hello everyone! >> Does anyone know any user-facing changes in compaction between v1.6 >> and v2.0? >> >> Jay and me have identified the following two changes that we would >> like to address in the blog: >> >> 1) use ioq to separately prioritise compaction requests >> https://github.com/apache/couchdb-couch/commit/95b60be72c271db1fc4317c9a1aa0a1537798fda >> >> 2) improved compaction efficiency with a temp file: >> https://github.com/apache/couchdb-couch/commit/9d830590f8a9a699315c78b329a8e80079ed48bd >> >> >> Were there any other major changes that worth mentioning in the >> compaction blog? >> >> Thanks, >> Mayya >> >> >> >> >> >> -----Jenn Turner <[email protected]> wrote: ----- >> To: "[email protected]" <[email protected]> >> From: Jenn Turner <[email protected]> >> Date: 07/25/2016 02:14PM >> Cc: "[email protected]" <[email protected]>, >> "[email protected]" <[email protected]> >> Subject: Re: CouchDB 2.0 blog series >> >> Hello! >> >> >> >> Based on the responses to my initial requests for volunteers I’ve put >> together >> a tentative schedule for the series. I've also created issues in JIRA >> and if >> there aren't any objections, I'll be assigning these dates as the due >> dates. >> >> >> >> Please let me know if these dates don’t work for you! >> >> >> >> Week 1 >> Jul 25: The Road to CouchDB 2.0, Jan Lehnardt >> Jul 27: Feature: Fauxton, Garren Smith >> >> Week 2 >> Aug 1: The CouchDB 2.0 Architecture, Robert Newson >> Aug 3: Feature: Mango query, Tony Sun >> >> Week 3 >> Aug 8: Release Candidates, Joan Touzet >> Aug 10: Feature: compactor, Maaya Sharipova >> >> Week 4 >> Aug 15: Feature: replicator, Nick Vatamaniuc >> Aug 17: Migration Guide, (need volunteer) >> >> Week 5 >> Aug 22: Miscellaneous improvements and bugfixes, Jan Lehnardt >> >> >> >> Also – For the Migration Guide post, we had a volunteer, but I'd like >> to pair >> them up with someone who has been on the project a bit longer, is >> there anyone >> who wants to volunteer to do that? >> >> >> >> Thanks again to everyone who has volunteered, you're awesome :D >> >> >> >> Jenn Turner >> >> The Neighbourhoodie Software GmbH >> Adalbertstr. 7-8, 10999 Berlin >> [neighbourhood.ie](https://link.nylas.com/link/c4yg26doe3du1m7gpdgdrj1jp >> /local-667de70f- >> 5a2e/0?redirect=http%3A%2F%2Fneighbourhood.ie%2F&r=ZGV2QGNvdWNoZGIuYXBhY2hlLm9yZw== >> "http://neighbourhood.ie/" ) >> >> >> Handelsregister HRB 157851 B Amtsgericht Charlottenburg >> Geschäftsführung: Jan Lehnardt >> >> >> >> On Jul 25 2016, at 2:19 am, Andy Wenk <[email protected]>; >> wrote: >> >>> awesome !!!! Spread the word everybody ! >> >> >>> Cheers >> >> >>> Andy >> >> >>> \-- >>> Andy Wenk >>> RockIt! >> >> >>> Hamburg / Germany >> >> >>> GPG public key: >> https://pgp.mit.edu/pks/lookup?op=get&search=0x4F1D0C59BC90917D >> >> >>> > On 25 Jul 2016, at 11:14, Jan Lehnardt <[email protected]>; >>> wrote: >>> > >>> > And we’re live: >>> https://blog.couchdb.org/2016/07/25/the-road-to- >> couchdb-2-0/ >>> > >>> > Thanks everyone for their comments! <3 >>> > >>> > Best >>> > Jan >>> > \-- >>> > >>> >> On 24 Jul 2016, at 18:43, Jan Lehnardt >>> <[email protected]>; >> wrote: >>> >> >>> >>> >>> >>> On 19 Jul 2016, at 22:07, Jenn Turner >> <[email protected]>; wrote: >>> >>> >>> >>> Hello there! >>> >>> >>> >>> We’re getting closer to releasing CouchDB 2.0 and >>> leading up to >> its official >>> >>> release, we want to publish a series of blog posts >>> examining >> topics like the >>> >>> history of the project, differences between the 2.0 >>> and 1.0 >> architecture, >>> >>> unpacking the new features, and so forth. >>> >>> >>> >>> To accomplish this **we need your help**, we need 7-8 >>> CouchDB >> users to help >>> >>> write these posts. Don’t worry, we’re not after >>> Shakespeare >> here, just >>> >>> introducing an idea in 200-300 words, to get folks >>> interested >> in CouchDB 2.0. >>> >>> I’ll be available to help with editing and >>> coordinating the >> publication >>> >>> schedule. >>> >>> >>> >>> Ideally, we’ll be able to release two posts a week, >>> one on >> Monday and >>> >>> Wednesday, with the weekly news still going out on >>> Thursdays, >> so we’re not >>> >>> over saturating the blog. Jan Lehnardt has volunteered >>> to kick >> off the series >>> >>> next week, with a post on the The Road to CouchDB 2.0 >>> on >> Monday. >>> >> >>> >> Here’s my first draft: >>> https://docs.google.com/document/d/1S- >> LMaEsVQD0MXX4VEzbC8j_nWJcnbmlTKuMK8NksLKk/edit# >> <https://docs.google.com/document/d/1S- >> LMaEsVQD0MXX4VEzbC8j_nWJcnbmlTKuMK8NksLKk/edit#> >>> >> >>> >> Jenn has editing permissions, everybody else, please leave >> comments. >>> >> >>> >> Paul or Bob, if you have the photo of Bob on Paul’s couch >> somewhere, we could include it :) >>> >> >>> >> Best >>> >> Jan >>> >> \-- >>> >> >>> >>> >>> >>> That means we need a volunteer to write one for next >>> Wednesday, >> July 27. We’re >>> >>> still tossing around ideas for giving the 7-8 authors >>> of these >> posts a special >>> >>> kind of CouchDB swag, if that helps. :) >>> >>> >>> >>> Below is a list of topics (also important: if you have >>> an idea >> for a topic you >>> >>> **don’t see** below, please let us know!): >>> >>> >>> >>> **The Road to CouchDB 2.0**: (Jan) >>> >>> \\- History of the big Couch fork >>> >>> \\- Cloudant >>> >>> \\- Big Couch merge announcement >>> >>> \\- Davisphack (rnewson on the couch) >>> >>> \\- Windsor merge >>> >>> \\- New build system >>> >>> \\- Cluster setup >>> >>> \\- Tests! Tests! Tests! >>> >>> \\- RC1 >>> >>> >>> >>> **The CouchDB 2.0 Architecture**: (need volunteer) >>> >>> \\- Dynamo >>> >>> \\- BigCouch >>> >>> \\- Cluster/Shards/Consistency >>> >>> >>> >>> **Release Candidates**: (need volunteer) >>> >>> \\- Please test: >>> >>> \\- Install >>> >>> \\- 1 node >>> >>> \\- 3 node >>> >>> \\- n node >>> >>> \\- App Devs &amp; Library devs: >>> >>> \\- Run your software against each >>> >>> \\- Fix any issues on your side >>> >>> \\- Report any issues to us >>> >>> >>> >>> **Migration Guide**: (need volunteer) >>> >>> \\- 99% is the same >>> >>> \\- update_seq is opaque string now >>> >>> \\- Changes feed can include duplicates >>> >>> \\- JS apps using /_utils/*.js: copy 1.6 files and put >>> into >> your apps >>> >>> \\- /_config is not available on the cluster, but >>> there is >> /_node/&lt;fqdn&gt;/ >>> >>> _config/ for your setup needs, make sure you do it on >>> all nodes >>> >>> \\- Test suites: >>> >>> \\- If you are creating and deleting databases in >>> quick >> succession, start using >>> >>> unique db names (and add cleanup) >>> >>> >>> >>> New features posts >>> >>> \\- **Feature: compactor** (need volunteer) >>> >>> \\- faster >>> >>> \\- lower i/o >>> >>> \\- more compact files >>> >>> \\- faster post compaction files >>> >>> >>> >>> \\- **Feature: replicator** (need volunteer) >>> >>> \\- TBD >>> >>> >>> >>> \\- **Feature: fauxton** (need volunteer) >>> >>> \\- Complete rewrite >>> >>> \\- First Backbone >>> >>> \\- Now React >>> >>> \\- Extendable >>> >>> >>> >>> \\- **Feature: Mango query** (need volunteer) >>> >>> \\- Import from Cloudant Query >>> >>> \\- MongoDB-inspired query language >>> >>> \\- Create indexes >>> >>> \\- Query patterns >>> >>> >>> >>> \\- **Miscellaneous improvements and bugfixes** (need >> volunteer) >>> >>> \\- /_db_updates gets persisted, supports ?since like >>> changes >>> >>> \\- Preview: view based changes >>> >>> \\- Uses rebar under the hood for building, ditched >>> autotools >> \o/ >>> >>> >>> >>> Also, if you have an idea of someone who would be a >>> good >> candidate to write >>> >>> one of these blog posts, let me know so I can reach >>> out to >> them. >>> >>> >>> >>> Please help us get the community excited for the >>> changes coming >> to CouchDB. :D >>> >>> :D :D >>> >>> >>> >>> Cheers! >>> >>> >>> >>> >>> >>> Jenn Turner >>> >>> >>> >>> The Neighbourhoodie Software GmbH >>> >>> Adalbertstr. 7-8, 10999 Berlin >>> >>> >> [neighbourhood.ie](https://link.nylas.com/link/c4yg26doe3du1m7gpdgdrj1jp >>> >>> /local-eda5af1b- >>> >>> >> bbb8/0?redirect=http%3A%2F%2Fneighbourhood.ie%2F&r=bWFya2V0aW5nQGNvdWNoZGIuYXBhY2hlLm9yZw== >>> >>> "http://neighbourhood.ie/" ) >>> >>> >>> >>> >>> >>> Handelsregister HRB 157851 B Amtsgericht >>> Charlottenburg >>> >>> Geschäftsführung: Jan Lehnardt >>> >>> >>> >> >>> >> \-- >>> >> Professional Support for Apache CouchDB: >>> >> https://neighbourhood.ie/couchdb-support/ >> <https://neighbourhood.ie/couchdb-support/> >>> > \-- >>> > Professional Support for Apache CouchDB: >>> > https://neighbourhood.ie/couchdb-support/ >>> > >> >> >>
