[
https://issues.apache.org/jira/browse/IGNITE-4155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15645173#comment-15645173
]
Sergey Chugunov commented on IGNITE-4155:
-----------------------------------------
The reason why semaphore cannot be reused in *IgniteSemaphoreExample* is that
after client node shuts down and leaves Ignite cluster its semaphore gets
marked as "broken" and doesn't function properly.
Need to discuss this behavior and either leave it as is or create a follow-up
story to fix it.
> Minor issues wth IgniteSemaphoreExample and HIbernateL2CacheExample
> -------------------------------------------------------------------
>
> Key: IGNITE-4155
> URL: https://issues.apache.org/jira/browse/IGNITE-4155
> Project: Ignite
> Issue Type: Improvement
> Reporter: Sergey Chugunov
> Assignee: Sergey Chugunov
> Priority: Minor
> Labels: newbie
>
> IgniteSemaphoreExample finishes fine for the first run but hangs on the
> second unless ignite cluster is restarted.
> HibernateL2CacheExample logs errors like this during run:
> {code}
> [17:14:25,147][ERROR][main][SchemaExport] HHH000389: Unsuccessful: alter
> table Post drop constraint FK_m7j5gwmpa7dklv5bnc41ertmi
> [17:14:25,147][ERROR][main][SchemaExport] Table "POST" not found; SQL
> statement:
> alter table Post drop constraint FK_m7j5gwmpa7dklv5bnc41ertmi [42102-191]
> {code}
> Errors don't prevent example from finishing but may lead to a confusion that
> something works improperly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)