canonical / canonical/mongodb-operator

unnecessary relation events occur due to order of hosts

Open
#491 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
HCL
Stars
14
Forks
15
Avg merge
9h 44m
Merged PRs (30d)
17

Description

Host order is not preserved in python set - resulting in multiple relation-changed events on the provider side

We should upate the provider lib to prevent unnecessary relation-changed events from occuring

Contributor guide

Open the contributing guide

Research direction

Start by locating the provider library code that builds relation data and emits relation-changed events, then reproduce the behavior with hosts supplied in different orders. Done means equivalent host sets produce no unnecessary relation-changed events, while genuine relation changes still do.

Written by the indexing model from the issue text.

Assessment

Tech stack
mongodb, python
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.