[
https://issues.apache.org/jira/browse/SLING-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler closed SLING-3843.
-----------------------------------
> lower error about not being able to remove a timed out vote to info
> -------------------------------------------------------------------
>
> Key: SLING-3843
> URL: https://issues.apache.org/jira/browse/SLING-3843
> Project: Sling
> Issue Type: Bug
> Components: Extensions
> Affects Versions: Discovery Impl 1.0.10
> Reporter: Stefan Egli
> Assignee: Stefan Egli
> Fix For: Discovery Impl 1.0.12
>
>
> There is a possibility for a race condition in
> [VotingHandler.cleanupTimedoutVotings|http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/discovery/impl/src/main/java/org/apache/sling/discovery/impl/cluster/voting/VotingHandler.java?revision=1612576&view=markup]
> when multiple nodes in a cluster try to delete a timed-out vote. Currently,
> this results in an error, eg:
> {code}
> <...> *ERROR* [pool-6-thread-4] org.apache.sling.discovery.impl.common.View
> remove: Could not remove node:
> org.apache.sling.api.resource.PersistenceException: Unable to delete resource
> at /var/discovery/impl/ongoingVotings/ <...> . Resource does not exist.
> {code}
> This error is misleading, as this is just two instances trying to delete the
> same resource - which should not cause an error at all. An info though would
> be appropriate.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)