canonical / canonical/mongodb-operator

returning peer info should not return {} if the relation doesnt exist

Open
#307 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

returning {} can cause issues later down the road [see this conversation](https://chat.charmhub.io/charmhub/pl/o467np6z8idd386hqb9icm7fmr)

Contributor guide

Open the contributing guide

Research direction

Start by tracing the operator code that returns peer information and inspect how it handles a missing relation. Use the linked conversation for context about downstream problems, then verify that the behavior for an absent relation is no longer an empty object.

Written by the indexing model from the issue text.

Assessment

Tech stack
mongodb
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.