helix icon indicating copy to clipboard operation
helix copied to clipboard

Race condition - possible to get null when reading instance config while adding/removing instance

Open xyuanlu opened this issue 1 year ago • 0 comments

Describe the bug

When adding/removing instance from a cluster, it is possible that at a point of time, instance config is gone but the INSTANCE ZNode is still there. This would cause config map in helix controller cache to have instance mapped to null config. We need to add NPR guard in pipeline to prevent transient pipeline failure.

The failure is not a blocking error causing further pipeline error but we would like to avoid noise in log.

xyuanlu avatar Oct 18 '23 06:10 xyuanlu