Skip to content

fix: reduce checkRole-driven component requeues#38

Merged
zijiren233 merged 1 commit into
labring:fix/v0.9.3from
im0x0ing:fix-role-checkrole-requeue
Jun 18, 2026
Merged

fix: reduce checkRole-driven component requeues#38
zijiren233 merged 1 commit into
labring:fix/v0.9.3from
im0x0ing:fix-role-checkrole-requeue

Conversation

@im0x0ing

@im0x0ing im0x0ing commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

Filter Component Pod watch updates that only change internal role bookkeeping annotations, including apps.kubeblocks.io/last-role-snapshot-version and role.kubeblocks.io/event-handled. Role label, access mode, readiness, deletion, and other meaningful Pod changes still enqueue the owning Component.

Allow multi-cluster watches to pass through native controller-runtime watch options so the same Pod update predicate can be applied consistently in both single-cluster and multi-cluster setups.

Add focused unit coverage for ignored annotation-only updates and meaningful Pod updates that must still trigger Component reconciliation.

@im0x0ing im0x0ing force-pushed the fix-role-checkrole-requeue branch from 19ce651 to 92c88b3 Compare June 16, 2026 09:59
Filter Component Pod watch updates that only change internal role bookkeeping annotations, including apps.kubeblocks.io/last-role-snapshot-version and role.kubeblocks.io/event-handled. Role label, access mode, readiness, deletion, and other meaningful Pod changes still enqueue the owning Component.

Allow multi-cluster watches to pass through native controller-runtime watch options so the same Pod update predicate can be applied consistently in both single-cluster and multi-cluster setups.

Add focused unit coverage for ignored annotation-only updates and meaningful Pod updates that must still trigger Component reconciliation.
@im0x0ing im0x0ing force-pushed the fix-role-checkrole-requeue branch from 92c88b3 to 42dcb17 Compare June 16, 2026 10:02
@zijiren233 zijiren233 merged commit 69929b9 into labring:fix/v0.9.3 Jun 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants