Skip to content

Stricter etcd key compatibility test #9127

@okJiang

Description

@okJiang

Enhancement Task

In the previous etcd key refactoring, we modified a significant amount of code related to etcd keys. Due to the code's complexity, it has been challenging to ensure consistency of the keys before and after modifications through manual reviews.

After merging the refactored code, we have already identified two cases of inconsistent modifications:

This indicates that the previous compatibility tests were not able to fully guarantee compatibility. Therefore, I will introduce a stricter compatibility test. It will collect operations on etcd keys from all unit tests, record them, and compare the newly generated operations with the previous ones. If the test fails, it will be necessary to review whether your code has modified the etcd key. If not, you can update the result to pass the test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementThe issue or PR belongs to an enhancement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions