ソースを参照

fix(cache): advance catalyst cache format

y9522 2 週間 前
コミット
9b8137b365
1 ファイル変更2 行追加1 行削除
  1. 2 1
      Sunrise/src/state/build_data/cache/records/format.h

+ 2 - 1
Sunrise/src/state/build_data/cache/records/format.h

@@ -28,8 +28,9 @@ inline constexpr std::array<char, 8> kCacheMagic{'S', 'U', 'N', 'R', 'I', 'S', '
  * Current build-data cache format. An older cache is rebuilt rather than read.
  * Bump it when a stored shape changes, and when the extraction filling it changes what it writes.
  * A cached row survives a code change, so a corrected walk keeps publishing the old rows.
+ * Development builds wrote formats 46 through 48, so those numbers cannot be reused.
  */
-inline constexpr std::uint32_t kCacheFormatVersion = 45;
+inline constexpr std::uint32_t kCacheFormatVersion = 49;
 /** Signed -1 on disk means there is no equipment slot. */
 inline constexpr std::int8_t kAbsentEquipmentSlot = -1;
 /** The standard 64-bit FNV-1a offset basis starts the payload checksum. */