[jira] [Updated] (COUCHDB-2203) Hang when uploading a JSON document

2014-03-16 Thread Kirill Pertsev (JIRA)

 [ 
https://issues.apache.org/jira/browse/COUCHDB-2203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kirill Pertsev updated COUCHDB-2203:


Affects Version/s: 1.5.0

 Hang when uploading a JSON document
 ---

 Key: COUCHDB-2203
 URL: https://issues.apache.org/jira/browse/COUCHDB-2203
 Project: CouchDB
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: Database Core
Affects Versions: 1.5.0
Reporter: Kirill Pertsev

 CouchDB 1.5.0 MacOS/X build from the website.
 I'm building a couchapp using node.couchapp.js. The size of the couchapp is 
 about 4MB, and I can not upload it to the Couch. I've dumped the JSON itself 
 and tried to PUT it with CURL, without any luck either.
 JSON is attached.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (COUCHDB-2203) Hang when uploading a JSON document

2014-03-16 Thread Kirill Pertsev (JIRA)
Kirill Pertsev created COUCHDB-2203:
---

 Summary: Hang when uploading a JSON document
 Key: COUCHDB-2203
 URL: https://issues.apache.org/jira/browse/COUCHDB-2203
 Project: CouchDB
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: Database Core
Reporter: Kirill Pertsev


CouchDB 1.5.0 MacOS/X build from the website.

I'm building a couchapp using node.couchapp.js. The size of the couchapp is 
about 4MB, and I can not upload it to the Couch. I've dumped the JSON itself 
and tried to PUT it with CURL, without any luck either.

JSON is attached.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (COUCHDB-2203) Hang when uploading a JSON document

2014-03-16 Thread Kirill Pertsev (JIRA)

 [ 
https://issues.apache.org/jira/browse/COUCHDB-2203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kirill Pertsev updated COUCHDB-2203:


Description: 
CouchDB 1.5.0 MacOS/X build from the website.

I'm building a couchapp using node.couchapp.js. The size of the couchapp is 
about 4MB, and I can not upload it to the Couch. I've dumped the JSON itself 
and tried to PUT it with CURL, without any luck either.

JSON is attached.

Upload with
curl -XPUT http://root:root123@localhost:5984/rmaze2/_design/rmaze-kanso -H 
Content-Type: application/json -d @body.debug


  was:
CouchDB 1.5.0 MacOS/X build from the website.

I'm building a couchapp using node.couchapp.js. The size of the couchapp is 
about 4MB, and I can not upload it to the Couch. I've dumped the JSON itself 
and tried to PUT it with CURL, without any luck either.

JSON is attached.


 Hang when uploading a JSON document
 ---

 Key: COUCHDB-2203
 URL: https://issues.apache.org/jira/browse/COUCHDB-2203
 Project: CouchDB
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: Database Core
Affects Versions: 1.5.0
Reporter: Kirill Pertsev
 Attachments: body.debug


 CouchDB 1.5.0 MacOS/X build from the website.
 I'm building a couchapp using node.couchapp.js. The size of the couchapp is 
 about 4MB, and I can not upload it to the Couch. I've dumped the JSON itself 
 and tried to PUT it with CURL, without any luck either.
 JSON is attached.
 Upload with
 curl -XPUT http://root:root123@localhost:5984/rmaze2/_design/rmaze-kanso -H 
 Content-Type: application/json -d @body.debug



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (COUCHDB-2203) Hang when uploading a JSON document

2014-03-16 Thread Kirill Pertsev (JIRA)

 [ 
https://issues.apache.org/jira/browse/COUCHDB-2203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kirill Pertsev updated COUCHDB-2203:


Attachment: body.debug

JSON document

Upload with 
curl -XPUT http://root:root123@localhost:5984/rmaze2/_design/rmaze-kanso -H 
Content-Type: application/json -d @body.debug


 Hang when uploading a JSON document
 ---

 Key: COUCHDB-2203
 URL: https://issues.apache.org/jira/browse/COUCHDB-2203
 Project: CouchDB
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: Database Core
Affects Versions: 1.5.0
Reporter: Kirill Pertsev
 Attachments: body.debug


 CouchDB 1.5.0 MacOS/X build from the website.
 I'm building a couchapp using node.couchapp.js. The size of the couchapp is 
 about 4MB, and I can not upload it to the Couch. I've dumped the JSON itself 
 and tried to PUT it with CURL, without any luck either.
 JSON is attached.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (COUCHDB-2203) Hang when uploading a JSON document

2014-03-16 Thread Kirill Pertsev (JIRA)

 [ 
https://issues.apache.org/jira/browse/COUCHDB-2203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kirill Pertsev updated COUCHDB-2203:


Description: 
CouchDB 1.5.0 MacOS/X build from the website. OS/X is 10.9.2

I'm building a couchapp using node.couchapp.js. The size of the couchapp is 
about 4MB, and I can not upload it to the Couch. I've dumped the JSON itself 
and tried to PUT it with CURL, without any luck either.

JSON is attached.

Upload with
curl -XPUT http://root:root123@localhost:5984/rmaze2/_design/rmaze-kanso -H 
Content-Type: application/json -d @body.debug


  was:
CouchDB 1.5.0 MacOS/X build from the website.

I'm building a couchapp using node.couchapp.js. The size of the couchapp is 
about 4MB, and I can not upload it to the Couch. I've dumped the JSON itself 
and tried to PUT it with CURL, without any luck either.

JSON is attached.

Upload with
curl -XPUT http://root:root123@localhost:5984/rmaze2/_design/rmaze-kanso -H 
Content-Type: application/json -d @body.debug



 Hang when uploading a JSON document
 ---

 Key: COUCHDB-2203
 URL: https://issues.apache.org/jira/browse/COUCHDB-2203
 Project: CouchDB
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: Database Core
Affects Versions: 1.5.0
Reporter: Kirill Pertsev
 Attachments: body.debug


 CouchDB 1.5.0 MacOS/X build from the website. OS/X is 10.9.2
 I'm building a couchapp using node.couchapp.js. The size of the couchapp is 
 about 4MB, and I can not upload it to the Couch. I've dumped the JSON itself 
 and tried to PUT it with CURL, without any luck either.
 JSON is attached.
 Upload with
 curl -XPUT http://root:root123@localhost:5984/rmaze2/_design/rmaze-kanso -H 
 Content-Type: application/json -d @body.debug



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (COUCHDB-1953) Speed up parsing of multipart/related requests

2014-03-16 Thread Alexander Shorin (JIRA)

 [ 
https://issues.apache.org/jira/browse/COUCHDB-1953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Shorin resolved COUCHDB-1953.
---

   Resolution: Fixed
Fix Version/s: 1.7.0
   1.6.0
 Assignee: Nick North

 Speed up parsing of multipart/related requests
 --

 Key: COUCHDB-1953
 URL: https://issues.apache.org/jira/browse/COUCHDB-1953
 Project: CouchDB
  Issue Type: Improvement
  Components: HTTP Interface
Reporter: Nick North
Assignee: Nick North
 Fix For: 1.6.0, 1.7.0

 Attachments: tests1953.erl


 Parsing of multipart/related requests searches for the MIME boundary string 
 using the couch_httpd:find_in_binary/2 function, which can be made more 
 efficient.
 When the boundary string is not found in its entirety in the search data, the 
 function should then look to see if the data ends with a prefix of the 
 string, but it currently looks for any prefix of the string almost anywhere 
 in the search data.
 A pull request to fix this will be submitted shortly.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (COUCHDB-1455) Apache project branding requirements: DOAP file [PATCH]

2014-03-16 Thread Alexander Shorin (JIRA)

 [ 
https://issues.apache.org/jira/browse/COUCHDB-1455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Shorin resolved COUCHDB-1455.
---

Resolution: Fixed

Fixed via INFRA-7292 [#146|https://github.com/apache/couchdb/pull/146]

 Apache project branding requirements: DOAP file [PATCH]
 ---

 Key: COUCHDB-1455
 URL: https://issues.apache.org/jira/browse/COUCHDB-1455
 Project: CouchDB
  Issue Type: Task
  Components: Documentation
Reporter: Shane Curcuru
Assignee: Noah Slater
 Attachments: doap_CouchDB.rdf


 Part of the Apache Project Branding requirements are having a DOAP file at 
 http://projects.apache.org/create.html
 Sample DOAP for CouchDB attached.
 Thanks!



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (COUCHDB-1947) _bulk_docs new_edits option is not documented

2014-03-16 Thread Alexander Shorin (JIRA)

 [ 
https://issues.apache.org/jira/browse/COUCHDB-1947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Shorin resolved COUCHDB-1947.
---

Resolution: Fixed
  Assignee: Alexander Shorin

 _bulk_docs new_edits option is not documented
 ---

 Key: COUCHDB-1947
 URL: https://issues.apache.org/jira/browse/COUCHDB-1947
 Project: CouchDB
  Issue Type: Bug
  Components: Documentation
Reporter: Nathan Vander Wilt
Assignee: Alexander Shorin

 There is some unofficial info about a new_edits option for _bulk_docs in 
 http://wiki.apache.org/couchdb/HTTP_Bulk_Document_API, and it is used by the 
 replication algorithm, but it is not documented in 
 http://docs.couchdb.org/en/latest/api/database.html#post-db-bulk-docs



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (COUCHDB-2203) Hang when uploading a JSON document

2014-03-16 Thread Kirill Pertsev (JIRA)

[ 
https://issues.apache.org/jira/browse/COUCHDB-2203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13937049#comment-13937049
 ] 

Kirill Pertsev commented on COUCHDB-2203:
-

Solved with
 curl -XPUT http://localhost:5984/_config/httpd/socket_options -d '[{recbuf, 
262144}, {sndbuf, 262144}, {nodelay, true}]' 
(c)Kxepal on #couchdb

Should be the default probably?

 Hang when uploading a JSON document
 ---

 Key: COUCHDB-2203
 URL: https://issues.apache.org/jira/browse/COUCHDB-2203
 Project: CouchDB
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: Database Core
Affects Versions: 1.5.0
Reporter: Kirill Pertsev
 Attachments: body.debug


 CouchDB 1.5.0 MacOS/X build from the website. OS/X is 10.9.2
 I'm building a couchapp using node.couchapp.js. The size of the couchapp is 
 about 4MB, and I can not upload it to the Couch. I've dumped the JSON itself 
 and tried to PUT it with CURL, without any luck either.
 JSON is attached.
 Upload with
 curl -XPUT http://root:root123@localhost:5984/rmaze2/_design/rmaze-kanso -H 
 Content-Type: application/json -d @body.debug



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Closed] (COUCHDB-2203) Hang when uploading a JSON document

2014-03-16 Thread Alexander Shorin (JIRA)

 [ 
https://issues.apache.org/jira/browse/COUCHDB-2203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Shorin closed COUCHDB-2203.
-

Resolution: Fixed

 Hang when uploading a JSON document
 ---

 Key: COUCHDB-2203
 URL: https://issues.apache.org/jira/browse/COUCHDB-2203
 Project: CouchDB
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: Database Core
Affects Versions: 1.5.0
Reporter: Kirill Pertsev
 Attachments: body.debug


 CouchDB 1.5.0 MacOS/X build from the website. OS/X is 10.9.2
 I'm building a couchapp using node.couchapp.js. The size of the couchapp is 
 about 4MB, and I can not upload it to the Couch. I've dumped the JSON itself 
 and tried to PUT it with CURL, without any luck either.
 JSON is attached.
 Upload with
 curl -XPUT http://root:root123@localhost:5984/rmaze2/_design/rmaze-kanso -H 
 Content-Type: application/json -d @body.debug



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (COUCHDB-1553) Make search works locally

2014-03-16 Thread Alexander Shorin (JIRA)

 [ 
https://issues.apache.org/jira/browse/COUCHDB-1553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Shorin resolved COUCHDB-1553.
---

Resolution: Fixed

It works!

 Make search works locally
 -

 Key: COUCHDB-1553
 URL: https://issues.apache.org/jira/browse/COUCHDB-1553
 Project: CouchDB
  Issue Type: Task
  Components: Documentation
Reporter: Noah Slater
Assignee: Noah Slater

 Currently get an error:
 XMLHttpRequest cannot load file://[...]/share/docs/build/html/searchindex.js. 
 Origin null is not allowed by Access-Control-Allow-Origin.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (COUCHDB-1615) Update root level documentation so it look nice on Github

2014-03-16 Thread Alexander Shorin (JIRA)

 [ 
https://issues.apache.org/jira/browse/COUCHDB-1615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Shorin resolved COUCHDB-1615.
---

Resolution: Fixed
  Assignee: Dirkjan Ochtman  (was: Noah Slater)

Fixed in 
[661f414|https://git-wip-us.apache.org/repos/asf?p=couchdb.git;a=commit;h=661f414]

 Update root level documentation so it look nice on Github
 -

 Key: COUCHDB-1615
 URL: https://issues.apache.org/jira/browse/COUCHDB-1615
 Project: CouchDB
  Issue Type: Improvement
  Components: Documentation
Reporter: Noah Slater
Assignee: Dirkjan Ochtman





--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (COUCHDB-1767) tidy up replicator docs

2014-03-16 Thread Alexander Shorin (JIRA)

 [ 
https://issues.apache.org/jira/browse/COUCHDB-1767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Shorin resolved COUCHDB-1767.
---

Resolution: Fixed
  Assignee: Alexander Shorin  (was: Dave Cottlehuber)

Fixed via COUCHDB-1781 and several GH PRs

 tidy up replicator docs
 ---

 Key: COUCHDB-1767
 URL: https://issues.apache.org/jira/browse/COUCHDB-1767
 Project: CouchDB
  Issue Type: Improvement
  Components: Documentation
Reporter: Dave Cottlehuber
Assignee: Alexander Shorin

 consolidate wiki, fdmanana's github notes, into jira, deprecate the reset.
 Don't forget the recent admin party issue on the ML.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[GitHub] couchdb pull request: fix build

2014-03-16 Thread robertkowalski
GitHub user robertkowalski opened a pull request:

https://github.com/apache/couchdb/pull/184

fix build

add CONTRIBUTING.md to Makefile.am and license.skip
remove duplicate file from Makefile.am

This should make the build green again, I hope :)

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/robertkowalski/couchdb fix-build-pr

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/couchdb/pull/184.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #184


commit 2f0e53ff559c17354078ab1ba75f9af9bc7b5ed2
Author: Robert Kowalski r...@kowalski.gd
Date:   2014-03-16T14:35:35Z

fix build

add CONTRIBUTING.md to Makefile.am and license.skip
remove duplicate file from Makefile.am




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] couchdb pull request: fix build

2014-03-16 Thread robertkowalski
Github user robertkowalski commented on the pull request:

https://github.com/apache/couchdb/pull/184#issuecomment-37761794
  
yay! build is green!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (COUCHDB-2041) upgrade ibrowse to next tag

2014-03-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/COUCHDB-2041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13937218#comment-13937218
 ] 

ASF subversion and git services commented on COUCHDB-2041:
--

Commit b63f393b8fad85bd4fca022a86227e4540c48a6b in couchdb's branch 
refs/heads/2041-update-ibrowse from [~dch]
[ https://git-wip-us.apache.org/repos/asf?p=couchdb.git;h=b63f393 ]

ibrowse: update to 4.1.0

- for COUCHDB-2041
- ibrowse tagged 4.1.0 sha#7871e2e


 upgrade ibrowse to next tag
 ---

 Key: COUCHDB-2041
 URL: https://issues.apache.org/jira/browse/COUCHDB-2041
 Project: CouchDB
  Issue Type: Improvement
  Components: HTTP Interface
Reporter: Dave Cottlehuber

 ibrowse 4.0.3 pre (as it hasn't been released yet) has a couple of useful 
 fixes for us. This branch passes distcheck and I've asked upstream for a 
 tagged release.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (COUCHDB-2110) Highlight graveyards in database list

2014-03-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/COUCHDB-2110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13937217#comment-13937217
 ] 

ASF subversion and git services commented on COUCHDB-2110:
--

Commit b8accb4eb7c46e3888416afc4aff407487f2f21c in couchdb's branch 
refs/heads/2041-update-ibrowse from [~robertkowalski]
[ https://git-wip-us.apache.org/repos/asf?p=couchdb.git;h=b8accb4 ]

Fauxton: highlight databases with more deleted docs than existing

Fixes COUCHDB-2110


 Highlight graveyards in database list
 -

 Key: COUCHDB-2110
 URL: https://issues.apache.org/jira/browse/COUCHDB-2110
 Project: CouchDB
  Issue Type: Improvement
  Security Level: public(Regular issues) 
  Components: Fauxton
Reporter: Alexander Shorin
  Labels: intermediate

 Let Fauxton detect graveyards - databases where amount of deleted documents 
 more than existed ones. Not much useful for small databases, but helpful for 
 large ones. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (COUCHDB-2166) Rename duplicate document to copy ... or clone ...

2014-03-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/COUCHDB-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13937216#comment-13937216
 ] 

ASF subversion and git services commented on COUCHDB-2166:
--

Commit a17bf86af27a2eb52e552360fecb5e74b6e5f582 in couchdb's branch 
refs/heads/2041-update-ibrowse from [~deathbear]
[ https://git-wip-us.apache.org/repos/asf?p=couchdb.git;h=a17bf86 ]

COUCHDB-2166 Rename duplicate document to copy ... or clone ...


 Rename duplicate document to copy ... or clone ...
 --

 Key: COUCHDB-2166
 URL: https://issues.apache.org/jira/browse/COUCHDB-2166
 Project: CouchDB
  Issue Type: Improvement
  Security Level: public(Regular issues) 
  Components: Fauxton
Reporter: Alexander Shorin
Assignee: Sue Lockwood

 Since actually you creates new document, not a duplicate for existed one (_id 
 and _rev are different, there could be two different documents with same _id 
 in the same database).



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (COUCHDB-2041) upgrade ibrowse to next tag

2014-03-16 Thread Dave Cottlehuber (JIRA)

[ 
https://issues.apache.org/jira/browse/COUCHDB-2041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13937224#comment-13937224
 ] 

Dave Cottlehuber commented on COUCHDB-2041:
---

upstream now tagged.

returned error can be either req_timedout or sel_conn_closed

I'm hoping this may help out with COUCHDB-1946 and/or COUCHDB-1986 too.

 upgrade ibrowse to next tag
 ---

 Key: COUCHDB-2041
 URL: https://issues.apache.org/jira/browse/COUCHDB-2041
 Project: CouchDB
  Issue Type: Improvement
  Components: HTTP Interface
Reporter: Dave Cottlehuber

 ibrowse 4.0.3 pre (as it hasn't been released yet) has a couple of useful 
 fixes for us. This branch passes distcheck and I've asked upstream for a 
 tagged release.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[GitHub] couchdb pull request: fix build

2014-03-16 Thread kxepal
Github user kxepal commented on the pull request:

https://github.com/apache/couchdb/pull/184#issuecomment-37769325
  
Merged, thanks!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] couchdb pull request: fix build

2014-03-16 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/couchdb/pull/184


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---