nydus
nydus copied to clipboard
Flag checks cause some flags introduced in the new version to be unrecognized by the old version of nydusd.
There are two specific checks in the current implementation that are causing compatibility issues between the new and old versions of nydusd:
- Blob Feature Checks: https://github.com/dragonflyoss/nydus/blob/dd9ba54e332802e46316755314c54b588f3b0889/rafs/src/metadata/layout/v5.rs#L656
- 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.