[
https://issues.apache.org/jira/browse/COUCHDB-1774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13637715#comment-13637715
]
Kirill Pertsev commented on COUCHDB-1774:
-----------------------------------------
code which causes this to happen (excerpt from our Gruntfile, which deploys the
application and prepares the database)
{code:coffeescript}
grunt.registerTask "couchdb_restart", ->
done = @async()
request.post
url: "#{db}_restart"
json: "yes, please"
, (err, _, res) ->
grunt.fail.warn err or JSON.stringify res if err or res.error
grunt.log.write "Restart complete: " + JSON.stringify res
done()
{code}
> POST to _restart crashes the server
> -----------------------------------
>
> Key: COUCHDB-1774
> URL: https://issues.apache.org/jira/browse/COUCHDB-1774
> Project: CouchDB
> Issue Type: Bug
> Components: Database Core
> Reporter: Kirill Pertsev
> Attachments: couchdb.log.txt, crashlog.txt
>
>
> 1.3.0, MacOS prebuilt binary from Apache website, empty, admin password set.
> OS X 10.8.3
> After posting to _restart the server restarts, replies with {"ok":"true"} and
> then crashes. Crashlog and server log are attached.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira