Re: View row with doc==null

2011-11-16 Thread Adam Kocoloski
You almost certainly had a view with duplicates (caused by e.g. COUCHDB-968 or COUCHDB-1265). When you deleted the document it left some orphaned rows in the view. Unfortunately, the only way to remove them at present is to compact the database and then rebuild the view from scratch. To dev@:

[jira] [Commented] (COUCHDB-1342) Asynchronous file writes

2011-11-16 Thread Paul Joseph Davis (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151734#comment-13151734 ] Paul Joseph Davis commented on COUCHDB-1342: Also, I'd point out that I've n

[jira] [Commented] (COUCHDB-1342) Asynchronous file writes

2011-11-16 Thread Paul Joseph Davis (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151729#comment-13151729 ] Paul Joseph Davis commented on COUCHDB-1342: "has to flush to service a writ

[jira] [Commented] (COUCHDB-1342) Asynchronous file writes

2011-11-16 Thread Paul Joseph Davis (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151723#comment-13151723 ] Paul Joseph Davis commented on COUCHDB-1342: @Damien That's an awful lot of

[jira] [Commented] (COUCHDB-1342) Asynchronous file writes

2011-11-16 Thread Damien Katz (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151639#comment-13151639 ] Damien Katz commented on COUCHDB-1342: -- Robert, from the next paragraph: "To preve

[jira] [Commented] (COUCHDB-1342) Asynchronous file writes

2011-11-16 Thread Robert Newson (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151567#comment-13151567 ] Robert Newson commented on COUCHDB-1342: Technical comments notwithstanding, say

[jira] [Commented] (COUCHDB-1342) Asynchronous file writes

2011-11-16 Thread Damien Katz (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151536#comment-13151536 ] Damien Katz commented on COUCHDB-1342: -- This is about write performance of database

[jira] [Commented] (COUCHDB-1342) Asynchronous file writes

2011-11-16 Thread Jan Lehnardt (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151498#comment-13151498 ] Jan Lehnardt commented on COUCHDB-1342: --- > I disagree fairly strongly on this poin

[jira] [Commented] (COUCHDB-1342) Asynchronous file writes

2011-11-16 Thread Paul Joseph Davis (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151430#comment-13151430 ] Paul Joseph Davis commented on COUCHDB-1342: > These are deliberate. Curren

[jira] [Commented] (COUCHDB-1342) Asynchronous file writes

2011-11-16 Thread Jan Lehnardt (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151401#comment-13151401 ] Jan Lehnardt commented on COUCHDB-1342: --- Good review Paul, thanks! :) Let me quot

[jira] [Commented] (COUCHDB-1323) couch_replicator

2011-11-16 Thread Paul Joseph Davis (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151389#comment-13151389 ] Paul Joseph Davis commented on COUCHDB-1323: Looks like I should've clicked

[jira] [Commented] (COUCHDB-1323) couch_replicator

2011-11-16 Thread Benoit Chesneau (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151377#comment-13151377 ] Benoit Chesneau commented on COUCHDB-1323: -- @davisp I fixed the indentation in

Re: Why MD5 is used for hashes, also about non-deterministic IDs.

2011-11-16 Thread Alex Besogonov
On Tue, Nov 15, 2011 at 4:23 PM, Randall Leeds wrote: >> Remember that the _rev value is derived from the contents of the >> documents, all the bytes of all attachments and values from previous >> revisions. Stock MD5 preimage attacks are of of much simpler form >> (finding a Y such that MD5(Y)=X

[jira] [Commented] (COUCHDB-1323) couch_replicator

2011-11-16 Thread Paul Joseph Davis (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151360#comment-13151360 ] Paul Joseph Davis commented on COUCHDB-1323: This could just be the diff bei

[jira] [Commented] (COUCHDB-1323) couch_replicator

2011-11-16 Thread Benoit Chesneau (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151343#comment-13151343 ] Benoit Chesneau commented on COUCHDB-1323: -- Thanks Adam, not sure why it has be

[jira] [Commented] (COUCHDB-1323) couch_replicator

2011-11-16 Thread Adam Kocoloski (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151337#comment-13151337 ] Adam Kocoloski commented on COUCHDB-1323: - Is the link still https://github.com

[jira] [Commented] (COUCHDB-1341) calculate replication id using only db name in remote case

2011-11-16 Thread Adam Kocoloski (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151328#comment-13151328 ] Adam Kocoloski commented on COUCHDB-1341: - Hi Filipe, I wasn't proposing that th

[jira] [Commented] (COUCHDB-1342) Asynchronous file writes

2011-11-16 Thread Paul Joseph Davis (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151314#comment-13151314 ] Paul Joseph Davis commented on COUCHDB-1342: This patch looks like its a mis

[jira] [Commented] (COUCHDB-1341) calculate replication id using only db name in remote case

2011-11-16 Thread Robert Newson (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151255#comment-13151255 ] Robert Newson commented on COUCHDB-1341: The original approach, removing the pas

[jira] [Commented] (COUCHDB-1323) couch_replicator

2011-11-16 Thread Benoit Chesneau (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151246#comment-13151246 ] Benoit Chesneau commented on COUCHDB-1323: -- I've upgraded my branch with latest

[jira] [Commented] (COUCHDB-1323) couch_replicator

2011-11-16 Thread Benoit Chesneau (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151247#comment-13151247 ] Benoit Chesneau commented on COUCHDB-1323: -- Ifit's OK I will commit that change

[jira] [Commented] (COUCHDB-1341) calculate replication id using only db name in remote case

2011-11-16 Thread Filipe Manana (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151241#comment-13151241 ] Filipe Manana commented on COUCHDB-1341: Adam, I'm not very keen on using _sessi

[jira] [Commented] (COUCHDB-1341) calculate replication id using only db name in remote case

2011-11-16 Thread Adam Kocoloski (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151227#comment-13151227 ] Adam Kocoloski commented on COUCHDB-1341: - It's a bit more of a change, but the

[jira] [Commented] (COUCHDB-1340) Replication: Invalid JSON reported

2011-11-16 Thread Alex Markham (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151210#comment-13151210 ] Alex Markham commented on COUCHDB-1340: --- the 8197 bytes included everything in the

[jira] [Commented] (COUCHDB-1340) Replication: Invalid JSON reported

2011-11-16 Thread Filipe Manana (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151203#comment-13151203 ] Filipe Manana commented on COUCHDB-1340: Alex, that 8197 byte length is for what

[jira] [Commented] (COUCHDB-1340) Replication: Invalid JSON reported

2011-11-16 Thread Alex Markham (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151191#comment-13151191 ] Alex Markham commented on COUCHDB-1340: --- I've just seen that the replication reque

[jira] [Commented] (COUCHDB-1340) Replication: Invalid JSON reported

2011-11-16 Thread Filipe Manana (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151189#comment-13151189 ] Filipe Manana commented on COUCHDB-1340: Alex good observation. The last 1 is a

[jira] [Updated] (COUCHDB-1342) Asynchronous file writes

2011-11-16 Thread Jan Lehnardt (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Lehnardt updated COUCHDB-1342: -- Attachment: COUCHDB-1342.patch > Asynchronous file writes > > >

[jira] [Created] (COUCHDB-1342) Asynchronous file writes

2011-11-16 Thread Jan Lehnardt (Created) (JIRA)
Asynchronous file writes Key: COUCHDB-1342 URL: https://issues.apache.org/jira/browse/COUCHDB-1342 Project: CouchDB Issue Type: Improvement Components: Database Core Reporter: Jan Lehnardt

[jira] [Updated] (COUCHDB-1340) Replication: Invalid JSON reported

2011-11-16 Thread Alex Markham (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Markham updated COUCHDB-1340: -- Attachment: 9c94ed0e23508f4ec3d18f8949c06a5b replicaton from wireshark cut.txt Also attached

[jira] [Resolved] (COUCHDB-1334) Indexer speedup (for non-native view servers)

2011-11-16 Thread Filipe Manana (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filipe Manana resolved COUCHDB-1334. Resolution: Fixed Fix Version/s: (was: 1.2) 1.3 Latest patc

[jira] [Updated] (COUCHDB-1340) Replication: Invalid JSON reported

2011-11-16 Thread Alex Markham (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Markham updated COUCHDB-1340: -- Attachment: replication error wireshark.txt I did a tcp dump while the crash happened and at

[jira] [Commented] (COUCHDB-1341) calculate replication id using only db name in remote case

2011-11-16 Thread Bob Dionne (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151144#comment-13151144 ] Bob Dionne commented on COUCHDB-1341: - Filipe, I think that makes sense. Originall

[jira] [Commented] (COUCHDB-1341) calculate replication id using only db name in remote case

2011-11-16 Thread Filipe Manana (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151140#comment-13151140 ] Filipe Manana commented on COUCHDB-1341: Hi Bob, that's definitely an issue. Ho

[jira] [Commented] (COUCHDB-1340) Replication: Invalid JSON reported

2011-11-16 Thread Filipe Manana (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151137#comment-13151137 ] Filipe Manana commented on COUCHDB-1340: Alex, the only cases I've seen this hap

[jira] [Commented] (COUCHDB-1212) Newly created user accounts cannot sign-in after _user database crashes

2011-11-16 Thread Beyhan Veliev (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151130#comment-13151130 ] Beyhan Veliev commented on COUCHDB-1212: We experience similar problems like des