You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Michael McCandless (Jira)" <ji...@apache.org> on 2021/08/28 16:21:00 UTC
[jira] [Commented] (LUCENE-10071) Review and refactor
synchronization handling between MockDirectoryWrapper and CheckIndex
[ https://issues.apache.org/jira/browse/LUCENE-10071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17406244#comment-17406244 ]
Michael McCandless commented on LUCENE-10071:
---------------------------------------------
Ideally we would be able to sometimes use concurrency in{{CheckIndex}} from MDW in tests.
> Review and refactor synchronization handling between MockDirectoryWrapper and CheckIndex
> ----------------------------------------------------------------------------------------
>
> Key: LUCENE-10071
> URL: https://issues.apache.org/jira/browse/LUCENE-10071
> Project: Lucene - Core
> Issue Type: Task
> Components: core/index, modules/test-framework
> Reporter: Zach Chen
> Priority: Minor
>
> This is a spin-off issue from discussion in [https://github.com/apache/lucene/pull/128,] as we noticed there's a subtle way to cause deadlock in test (or maybe even in production code if similar logic is implemented) [https://github.com/apache/lucene/pull/128#discussion_r642639399.]
> This issue is to review how synchronization can be improved between these classes to make it less deadlock-prone, or more explicit when locking arrangement needs to be made.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org