[jira] Updated: (COUCHDB-639) Pull replication should profit of compressed attachments for higher performance

2010-02-04 Thread Filipe Manana (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filipe Manana updated COUCHDB-639: -- Attachment: pull-rep-att-comp.patch > Pull replication should profit of compressed attachments

[jira] Created: (COUCHDB-639) Pull replication should profit of compressed attachments for higher performance

2010-02-04 Thread Filipe Manana (JIRA)
Pull replication should profit of compressed attachments for higher performance --- Key: COUCHDB-639 URL: https://issues.apache.org/jira/browse/COUCHDB-639 Project: CouchDB

[jira] Closed: (COUCHDB-589) Simplify Query Server interface and Design Handlers

2010-02-04 Thread Jan Lehnardt (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Lehnardt closed COUCHDB-589. Resolution: Fixed Fix Version/s: 0.11 r906721 commits a patch that re-enables 404 handling

Re: associating UUIDs to DBs

2010-02-04 Thread Adam Kocoloski
On Feb 4, 2010, at 5:05 PM, Randall Leeds wrote: > On Thu, Feb 4, 2010 at 08:17, Adam Kocoloski wrote: >> >> If we went ahead and implemented this I think the UUID becomes superfluous >> from the replicator's perspective. You wouldn't want to restrict this >> Merkle tree check to UUID-matched

Re: associating UUIDs to DBs

2010-02-04 Thread Randall Leeds
On Thu, Feb 4, 2010 at 08:17, Adam Kocoloski wrote: > > If we went ahead and implemented this I think the UUID becomes superfluous > from the replicator's perspective.  You wouldn't want to restrict this Merkle > tree check to UUID-matched DBs, as it would be useful for reducing entropy in > a

Re: CouchDB defaults

2010-02-04 Thread Randall Leeds
On Thu, Feb 4, 2010 at 13:37, Paul Davis wrote: > > I think he means "copy the file specified by --with-defaults-file to > the standard location". > Yes.

Re: CouchDB defaults

2010-02-04 Thread Paul Davis
On Thu, Feb 4, 2010 at 4:30 PM, Noah Slater wrote: > Nope, I don't think i like this. > > The location of the file should be standard. > > On 4 Feb 2010, at 20:50, Randall Leeds wrote: > >> On Thu, Feb 4, 2010 at 12:31, Noah Slater wrote: >>> >>> On 4 Feb 2010, at 20:23, till wrote: >>> On T

Re: CouchDB defaults

2010-02-04 Thread Noah Slater
Nope, I don't think i like this. The location of the file should be standard. On 4 Feb 2010, at 20:50, Randall Leeds wrote: > On Thu, Feb 4, 2010 at 12:31, Noah Slater wrote: >> >> On 4 Feb 2010, at 20:23, till wrote: >> >>> On Thu, Feb 4, 2010 at 9:03 PM, Noah Slater wrote: Nope, I und

Re: CouchDB defaults

2010-02-04 Thread Randall Leeds
On Thu, Feb 4, 2010 at 12:31, Noah Slater wrote: > > On 4 Feb 2010, at 20:23, till wrote: > >> On Thu, Feb 4, 2010 at 9:03 PM, Noah Slater wrote: >>> Nope, I understand what you want, I just don't know if it's a good idea. >>> >>> So my thought experiment was to wonder if we'd do the same for the

Re: CouchDB defaults

2010-02-04 Thread Noah Slater
On 4 Feb 2010, at 20:23, till wrote: > On Thu, Feb 4, 2010 at 9:03 PM, Noah Slater wrote: >> Nope, I understand what you want, I just don't know if it's a good idea. >> >> So my thought experiment was to wonder if we'd do the same for the other >> configuration files. >> >> As in, where is th

Re: CouchDB defaults

2010-02-04 Thread till
On Thu, Feb 4, 2010 at 9:03 PM, Noah Slater wrote: > Nope, I understand what you want, I just don't know if it's a good idea. > > So my thought experiment was to wonder if we'd do the same for the other > configuration files. > > As in, where is the line drawn? IMHO, there doesn't have to be a l

[jira] Updated: (COUCHDB-589) Simplify Query Server interface and Design Handlers

2010-02-04 Thread Benoit Chesneau (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benoit Chesneau updated COUCHDB-589: Attachment: show_handle.404-2.patch new version of the patch. Option is now in design doc

Re: CouchDB defaults

2010-02-04 Thread Noah Slater
Nope, I understand what you want, I just don't know if it's a good idea. So my thought experiment was to wonder if we'd do the same for the other configuration files. As in, where is the line drawn? On 4 Feb 2010, at 19:05, till wrote: > Hey Noah, > > anything I can do to clear this up, or be

Re: CouchDB defaults

2010-02-04 Thread Paul Davis
On Thu, Feb 4, 2010 at 1:30 PM, Noah Slater wrote: > I'm unsure. > > Would he accept a patch for ./configure that set default values in local.ini > too? Theoretically, we sorta do this because it does get variable substitution from config settings.

Re: CouchDB defaults

2010-02-04 Thread till
Hey Noah, anything I can do to clear this up, or better explain what I (or well, "we" want)? Here's a rundown: ./configure --couchdb-user=root \ --couchdb-stdout-file=/my/log/file/for/stdout \ --couchdb-stderr-file=/my/log/file/for/stderr \ --couchdb-respawn-timeout=10 \ --couchdb-pidfile=/home/

Re: CouchDB defaults

2010-02-04 Thread Noah Slater
I'm unsure. Would he accept a patch for ./configure that set default values in local.ini too? On 4 Feb 2010, at 16:51, Paul Davis wrote: > Thoughts Noah? I don't immediately see anything wrong with this, but I > don't know if other packager people have different expectations. > > On Thu, Feb 4

handling 404 errors in shows function

2010-02-04 Thread Benoit Chesneau
Since latest changes in view serverr, we can't handle 404 errors in show docs. Reason invoked by @jchris is that most of users won't have the use for it and it will raise 500 error in case they don't handle case where the doc doesn't exist. But this feature could be very useful in some cases : -

Re: CouchDB defaults

2010-02-04 Thread Matt Goodall
On 4 February 2010 16:56, till wrote: > On Thu, Feb 4, 2010 at 5:49 PM, Matt Goodall > wrote: > > But aren't all those per-instance parameters? Why would you want them > > compiled into the binaries? > > > > - Matt > > No, I want to influence whatever is in "defaults" or whatever your > system c

Re: CouchDB defaults

2010-02-04 Thread till
On Thu, Feb 4, 2010 at 5:51 PM, Paul Davis wrote: > Thoughts Noah? I don't immediately see anything wrong with this, but I > don't know if other packager people have different expectations. Can't speak for everyone, but even when I roll a new port on freebsd, this would come in handy. ;) My ubun

Re: CouchDB defaults

2010-02-04 Thread till
On Thu, Feb 4, 2010 at 5:49 PM, Matt Goodall wrote: > But aren't all those per-instance parameters? Why would you want them > compiled into the binaries? > > - Matt No, I want to influence whatever is in "defaults" or whatever your system calls it. ;) People would still be able to edit defaults

Re: CouchDB defaults

2010-02-04 Thread Paul Davis
Thoughts Noah? I don't immediately see anything wrong with this, but I don't know if other packager people have different expectations. On Thu, Feb 4, 2010 at 11:06 AM, till wrote: > Hey guys, > > when I install couchdb e.g. on ubuntu, it creates a couple settings in > /etc/default/couchdb. > > I

Re: CouchDB defaults

2010-02-04 Thread Matt Goodall
But aren't all those per-instance parameters? Why would you want them compiled into the binaries? - Matt On 4 February 2010 16:17, till wrote: > On Thu, Feb 4, 2010 at 5:10 PM, Dirkjan Ochtman > wrote: > > On Thu, Feb 4, 2010 at 17:06, till wrote: > >> when I install couchdb e.g. on ubuntu, i

Re: CouchDB defaults

2010-02-04 Thread till
On Thu, Feb 4, 2010 at 5:10 PM, Dirkjan Ochtman wrote: > On Thu, Feb 4, 2010 at 17:06, till wrote: >> when I install couchdb e.g. on ubuntu, it creates a couple settings in >> /etc/default/couchdb. >> >> I was wondering what you guys think about adding ./configure switches >> for each one of them

Re: associating UUIDs to DBs

2010-02-04 Thread Adam Kocoloski
On Feb 4, 2010, at 10:44 AM, Paul Davis wrote: > On Thu, Feb 4, 2010 at 10:19 AM, Adam Kocoloski wrote: >> On Feb 3, 2010, at 4:53 AM, Brian Candler wrote: >> >>> On Tue, Feb 02, 2010 at 09:41:28PM +, Robert Newson wrote: If couchdb tracked replication by a Merkle tree, it would obsolet

Re: CouchDB defaults

2010-02-04 Thread Dirkjan Ochtman
On Thu, Feb 4, 2010 at 17:06, till wrote: > when I install couchdb e.g. on ubuntu, it creates a couple settings in > /etc/default/couchdb. > > I was wondering what you guys think about adding ./configure switches > for each one of them (COUCHDB_USER, COUCHDB_STDOUT_FILE, > COUCHDB_STDERR_FILE, COU

CouchDB defaults

2010-02-04 Thread till
Hey guys, when I install couchdb e.g. on ubuntu, it creates a couple settings in /etc/default/couchdb. I was wondering what you guys think about adding ./configure switches for each one of them (COUCHDB_USER, COUCHDB_STDOUT_FILE, COUCHDB_STDERR_FILE, COUCHDB_RESPAWN_TIMEOUT)? =) It sure would ma

Re: associating UUIDs to DBs

2010-02-04 Thread Paul Davis
On Thu, Feb 4, 2010 at 10:19 AM, Adam Kocoloski wrote: > On Feb 3, 2010, at 4:53 AM, Brian Candler wrote: > >> On Tue, Feb 02, 2010 at 09:41:28PM +, Robert Newson wrote: >>> If couchdb tracked replication by a Merkle tree, it would obsolete the >>> update_seq mechanism? >> >> Only if you weren

Re: associating UUIDs to DBs

2010-02-04 Thread Adam Kocoloski
On Feb 3, 2010, at 4:53 AM, Brian Candler wrote: > On Tue, Feb 02, 2010 at 09:41:28PM +, Robert Newson wrote: >> If couchdb tracked replication by a Merkle tree, it would obsolete the >> update_seq mechanism? > > Only if you weren't doing filtered/selective replication. And probably only > if

[jira] Updated: (COUCHDB-589) Simplify Query Server interface and Design Handlers

2010-02-04 Thread Benoit Chesneau (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benoit Chesneau updated COUCHDB-589: Attachment: show_handle.404.diff patch the put back 404 error handling in show.If ddoc mem

Re: DB ACLs (was Re: 0.11 Release / Feature Freeze for 1.0)

2010-02-04 Thread Brian Candler
On Wed, Feb 03, 2010 at 02:27:56PM -0800, Jan Lehnardt wrote: > > Sorry to be blunt, but do you have numbers to back that up? This smells > > very much of premature optimisation. > > Reading a document costs: > > 1 disk seek to the end of the db file to grab the b-tree root > + n disk seek

[jira] Commented: (COUCHDB-589) Simplify Query Server interface and Design Handlers

2010-02-04 Thread Benoit Chesneau (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829572#action_12829572 ] Benoit Chesneau commented on COUCHDB-589: - I'm all for having it back . Actually t

[jira] Closed: (COUCHDB-638) extend docid in show

2010-02-04 Thread Benoit Chesneau (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benoit Chesneau closed COUCHDB-638. --- Resolution: Fixed fix commited revision 906423 http://svn.apache.org/viewvc?rev=906423&view

[jira] Updated: (COUCHDB-638) extend docid in show

2010-02-04 Thread Benoit Chesneau (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benoit Chesneau updated COUCHDB-638: Issue Type: Bug (was: Improvement) > extend docid in show > > >

[jira] Created: (COUCHDB-638) extend docid in show

2010-02-04 Thread Benoit Chesneau (JIRA)
extend docid in show Key: COUCHDB-638 URL: https://issues.apache.org/jira/browse/COUCHDB-638 Project: CouchDB Issue Type: Improvement Components: HTTP Interface Affects Versions: 0.11, 0.12 Repo