You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Chris M. Hostetter (Jira)" <ji...@apache.org> on 2020/01/11 23:28:00 UTC
[jira] [Created] (SOLR-14184) replace
DirectUpdateHandler2.commitOnClose with something in TestInjection
Chris M. Hostetter created SOLR-14184:
-----------------------------------------
Summary: replace DirectUpdateHandler2.commitOnClose with something in TestInjection
Key: SOLR-14184
URL: https://issues.apache.org/jira/browse/SOLR-14184
Project: Solr
Issue Type: Test
Security Level: Public (Default Security Level. Issues are Public)
Reporter: Chris M. Hostetter
Assignee: Chris M. Hostetter
{code:java}
public static volatile boolean commitOnClose = true; // TODO: make this a real config option or move it to TestInjection
{code}
Lots of tests muck with this (to simulate unclean shutdown and force tlog replay on restart) but there's no garuntee that it is reset properly.
It should be replaced by logic in {{TestInjection}} that is correctly cleaned up by {{TestInjection.reset()}}
--
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