You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Robert Muir (Jira)" <ji...@apache.org> on 2021/04/10 20:08:00 UTC
[jira] [Resolved] (LUCENE-9922) checksums files should use
deterministic sort order?
[ https://issues.apache.org/jira/browse/LUCENE-9922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir resolved LUCENE-9922.
---------------------------------
Fix Version/s: main (9.0)
Resolution: Fixed
> checksums files should use deterministic sort order?
> ----------------------------------------------------
>
> Key: LUCENE-9922
> URL: https://issues.apache.org/jira/browse/LUCENE-9922
> Project: Lucene - Core
> Issue Type: Task
> Reporter: Robert Muir
> Priority: Major
> Fix For: main (9.0)
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> When regenerating, I notice some changed checksum files (when nothing actually changed).
> For example when regenerating ICU, it produced this diff: none of the checksums are changed but files are simply listed in a different order.
> {noformat}
> diff --git a/lucene/analysis/icu/src/generated/checksums/genRbbi.json b/lucene/analysis/icu/src/generated/checksums/genRbbi.json
> index 7607c4edb94..f6ee7833c07 100644
> --- a/lucene/analysis/icu/src/generated/checksums/genRbbi.json
> +++ b/lucene/analysis/icu/src/generated/checksums/genRbbi.json
> @@ -1,6 +1,6 @@
> {
> "lucene/analysis/icu/src/data/uax29/Default.rbbi": "71bfaee5e81ac272aff828d1e44d0612be1b8363",
> "lucene/analysis/icu/src/data/uax29/MyanmarSyllable.rbbi": "4c6817658b454add5ec1f9ac8c0015ce8eb3b5f2",
> - "lucene/analysis/icu/src/resources/org/apache/lucene/analysis/icu/segmentation/Default.brk": "1b9013b7ef4ba32a851a330c58a8fa820b9dda79",
> - "lucene/analysis/icu/src/resources/org/apache/lucene/analysis/icu/segmentation/MyanmarSyllable.brk": "cc023ec17e0148518086098691785a32b88ee09a"
> + "lucene/analysis/icu/src/resources/org/apache/lucene/analysis/icu/segmentation/MyanmarSyllable.brk": "cc023ec17e0148518086098691785a32b88ee09a",
> + "lucene/analysis/icu/src/resources/org/apache/lucene/analysis/icu/segmentation/Default.brk": "1b9013b7ef4ba32a851a330c58a8fa820b9dda79"
> }
> \ No newline at end of file
> {noformat}
> cc: [~dweiss]
--
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