[ https://issues.apache.org/jira/browse/SOLR-14184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17017428#comment-17017428 ]
ASF subversion and git services commented on SOLR-14184: -------------------------------------------------------- Commit bb48773cdc279403b8c6af82f4f52b247a1e61c1 in lucene-solr's branch refs/heads/branch_8x from Chris M. Hostetter [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=bb48773 ] SOLR-14184: Internal 'test' variable DirectUpdateHandler2.commitOnClose has been removed and replaced with TestInjection.skipIndexWriterCommitOnClose (cherry picked from commit 5f2d7c4855987670489d68884c787e4cfb377fa9) > 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 > Priority: Major > Attachments: SOLR-14184.patch, SOLR-14184.patch > > > {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-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org