Re: Format metadata versioning vs. new named Formats

2024-04-12 Thread Adrien Grand
These are indeed two ways to change the on-disk layout of our file formats. In general, I try to follow the following rules: - If the format is not bw-compatible (e.g. formats in lucene/codecs), do the change in-place and bump both VERSION_START and VERSION_CURRENT to make sure users get a

Format metadata versioning vs. new named Formats

2024-04-12 Thread Benjamin Trent
Hey y'all, I am confused about when we should supply a new format name (e.g. Lucene911... vs. Lucene99) versus using a new metadata header version (incrementing VERSION_CURRENT). Are there general rules to follow? At first glance, using a new Lucene format name prefix is functionally the same