You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Robert Newson (JIRA)" <ji...@apache.org> on 2009/10/03 16:32:23 UTC
[jira] Created: (COUCHDB-517) changing uuid algorithm causes client
errors
changing uuid algorithm causes client errors
--------------------------------------------
Key: COUCHDB-517
URL: https://issues.apache.org/jira/browse/COUCHDB-517
Project: CouchDB
Issue Type: Bug
Reporter: Robert Newson
Attachments: couchdb-517.patch
When changing the uuid configuration (by PUT to _config/uuids/algorithm), a client attempting an operation at the same time experiences a transitory connection refused problem.
Attached is a patch that changes couch_uuid.erl so that it changes its internal state when the configuration changes rather than the current behavior of stopping and then being restarted by the supervisor.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (COUCHDB-517) changing uuid algorithm causes
client errors
Posted by "Paul Joseph Davis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Joseph Davis resolved COUCHDB-517.
---------------------------------------
Resolution: Fixed
Fix Version/s: 0.11
Assignee: Paul Joseph Davis
Applied in r821402.
> changing uuid algorithm causes client errors
> --------------------------------------------
>
> Key: COUCHDB-517
> URL: https://issues.apache.org/jira/browse/COUCHDB-517
> Project: CouchDB
> Issue Type: Bug
> Reporter: Robert Newson
> Assignee: Paul Joseph Davis
> Fix For: 0.11
>
> Attachments: 0001-fix-couchdb-517.patch, couchdb-517.patch
>
>
> When changing the uuid configuration (by PUT to _config/uuids/algorithm), a client attempting an operation at the same time experiences a transitory connection refused problem.
> Attached is a patch that changes couch_uuid.erl so that it changes its internal state when the configuration changes rather than the current behavior of stopping and then being restarted by the supervisor.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (COUCHDB-517) changing uuid algorithm causes client
errors
Posted by "Robert Newson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Newson updated COUCHDB-517:
----------------------------------
Attachment: couchdb-517.patch
Change uuid algorithm without restarting the couch_uuids gen_server process.
> changing uuid algorithm causes client errors
> --------------------------------------------
>
> Key: COUCHDB-517
> URL: https://issues.apache.org/jira/browse/COUCHDB-517
> Project: CouchDB
> Issue Type: Bug
> Reporter: Robert Newson
> Attachments: couchdb-517.patch
>
>
> When changing the uuid configuration (by PUT to _config/uuids/algorithm), a client attempting an operation at the same time experiences a transitory connection refused problem.
> Attached is a patch that changes couch_uuid.erl so that it changes its internal state when the configuration changes rather than the current behavior of stopping and then being restarted by the supervisor.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (COUCHDB-517) changing uuid algorithm causes
client errors
Posted by "Damien Katz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761906#action_12761906 ]
Damien Katz commented on COUCHDB-517:
-------------------------------------
I've reviewed the patch and it looks good. I'd commit it myself but I'm not sure of the patch flags I need for this diff.
> changing uuid algorithm causes client errors
> --------------------------------------------
>
> Key: COUCHDB-517
> URL: https://issues.apache.org/jira/browse/COUCHDB-517
> Project: CouchDB
> Issue Type: Bug
> Reporter: Robert Newson
> Attachments: couchdb-517.patch
>
>
> When changing the uuid configuration (by PUT to _config/uuids/algorithm), a client attempting an operation at the same time experiences a transitory connection refused problem.
> Attached is a patch that changes couch_uuid.erl so that it changes its internal state when the configuration changes rather than the current behavior of stopping and then being restarted by the supervisor.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (COUCHDB-517) changing uuid algorithm causes client
errors
Posted by "Robert Newson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Newson updated COUCHDB-517:
----------------------------------
Attachment: 0001-fix-couchdb-517.patch
Formatted by 'git format-patch trunk' from a local branch with my fix applied, hopefully easier to apply.
> changing uuid algorithm causes client errors
> --------------------------------------------
>
> Key: COUCHDB-517
> URL: https://issues.apache.org/jira/browse/COUCHDB-517
> Project: CouchDB
> Issue Type: Bug
> Reporter: Robert Newson
> Attachments: 0001-fix-couchdb-517.patch, couchdb-517.patch
>
>
> When changing the uuid configuration (by PUT to _config/uuids/algorithm), a client attempting an operation at the same time experiences a transitory connection refused problem.
> Attached is a patch that changes couch_uuid.erl so that it changes its internal state when the configuration changes rather than the current behavior of stopping and then being restarted by the supervisor.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.