You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Zach Chen (Jira)" <ji...@apache.org> on 2021/06/01 03:44:00 UTC

[jira] [Created] (LUCENE-9984) Make CheckIndex doChecksumsOnly / -fast as default

Zach Chen created LUCENE-9984:
---------------------------------

             Summary: Make CheckIndex doChecksumsOnly / -fast as default 
                 Key: LUCENE-9984
                 URL: https://issues.apache.org/jira/browse/LUCENE-9984
             Project: Lucene - Core
          Issue Type: Improvement
          Components: core/index
    Affects Versions: 9.0
            Reporter: Zach Chen
            Assignee: Zach Chen


This issue is a spin-off from discussion in https://github.com/apache/lucene/pull/128

Currently _CheckIndex_ defaults to checking both checksum as well as content inside each segment files for correctness, and requires _-fast_ flag to be explicitly passed in to do checksum only. However, this default setting was there due to lack of checksum feature historically, and is slow for most end-users nowadays as they probably only care about their indices being intact (from random bit flipping for example).

This issue is to change the default settings for CheckIndex so that they are more appropriate for end-users. One proposal from @rmuir is the following:
 # Make {{-fast}} the new default.
 # The previous {{-slow}} could be moved to {{-slower}} 
 # The current behavior (checksum + segment file content - slow check) could be activated by {{-slow}}.



--
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