Operator changes writeConcernMajorityJournalDefault to "true" despite what user configured

Description

When Operator reconfigured replica set, it does not set writeConcernMajorityJournalDefault, so it always gets the default value of true.

This is problematic and confusing if user has configured replica set to use writeConcernMajorityJournalDefault:false

How to repeat:

Set up Operator and create cluster with all default settings as shown in

Once the cluster has been built, log in to rs0 primary, and reconfigure replica set like:

Verify with rs.conf(), make sure it shows writeConcernMajorityJournalDefault:false

Next, scale rs0 to 5 pods from default 3, by changing and applying cr.yaml:

Apply the changes, wait for replica set to be scaled up, and check rs.conf() on rs0 primary again.

It now shows writeConcernMajorityJournalDefault: true, which was not expected.

Environment

None

AFFECTED CS IDs

CS0044538

Activity

Eleonora Zinchenko October 2, 2024 at 2:36 PM

Hi,

Verified. The writeConcernMajorityJournalDefault is not changed.

Slava Sarzhan September 12, 2024 at 7:55 AM

The issue was fixed.

Done

Details

Assignee

Reporter

Needs QA

Yes

Story Points

Sprint

Fix versions

Affects versions

Priority

Smart Checklist

Created March 12, 2024 at 12:24 PM
Updated November 14, 2024 at 5:21 PM
Resolved October 2, 2024 at 2:37 PM