nydus icon indicating copy to clipboard operation
nydus copied to clipboard

Flag checks cause some flags introduced in the new version to be unrecognized by the old version of nydusd.

Open BraveY opened this issue 9 months ago • 0 comments

There are two specific checks in the current implementation that are causing compatibility issues between the new and old versions of nydusd:

  1. Blob Feature Checks: https://github.com/dragonflyoss/nydus/blob/dd9ba54e332802e46316755314c54b588f3b0889/rafs/src/metadata/layout/v5.rs#L656
  2. Chunk Flag Checks: https://github.com/dragonflyoss/nydus/blob/91931607f8188482315b97b687448024c979f902/storage/src/meta/chunk_info_v2.rs#L232

These two checks collectively prevent the old version of nydusd from recognizing and properly handling new flags introduced in the new version, leading to potential runtime errors or failures during execution.

BraveY avatar Feb 24 '25 08:02 BraveY