Skip to content

Conversation

houssain-barouni
Copy link
Collaborator

@houssain-barouni houssain-barouni commented Aug 22, 2025

Description

Slack discussion
The fix for #32872 is included in patch versions 8.6 and 8.7. Upgrading to these versions may introduce a breaking change by undeseriably updating schema settings for SM customers. To make the fix as an opt-in option, the default value for updateSchemaSettings will be set to false. For SaaS customers, the setting will be enabled (set to true).

Also added some integration tests, and did some clean-up on the existing ones

Checklist

Related issues

relates to #32872, #31238

@github-actions github-actions bot added component/operate Related to the Operate component/team component/tasklist Related to the Tasklist component/team labels Aug 22, 2025
@houssain-barouni houssain-barouni force-pushed the hb-disable-update-schema branch from cf961dd to 8867640 Compare August 24, 2025 12:34
@houssain-barouni houssain-barouni marked this pull request as ready for review August 24, 2025 12:39
@houssain-barouni houssain-barouni requested review from RomanJRW and a team August 24, 2025 12:39
@houssain-barouni houssain-barouni added the backport stable/8.6 Backport a pull request to stable/8.6 label Aug 24, 2025
@houssain-barouni houssain-barouni force-pushed the hb-disable-update-schema branch from 8867640 to 8de264b Compare August 24, 2025 13:20
Copy link
Contributor

@panagiotisgts panagiotisgts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, minor suggestions only 🚀

Copy link
Member

@ChrisKujawa ChrisKujawa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @houssain-barouni just smaller suggestions and questions, looks good 👍🏼

@@ -135,4 +143,89 @@ public void shouldFailIfSchemaNotUpdateable() {
.isInstanceOf(OperateRuntimeException.class)
.hasMessageContaining("Not supported index changes are introduced");
}

@Test
public void shouldUpdateIndexSettingsWhenUpdateSchemaSettingsIsEnabled()
Copy link
Member

@ChrisKujawa ChrisKujawa Aug 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔧 What I actually would like to see is to have some default behavior tests, in all tests we explicitly set the value. When I now change the default value again, none of the tests would fail, which might be a problem.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made the test parameterized, to use the default value or not

@houssain-barouni houssain-barouni added this pull request to the merge queue Aug 25, 2025
Merged via the queue into stable/8.7 with commit 4d2803b Aug 25, 2025
81 of 85 checks passed
@houssain-barouni houssain-barouni deleted the hb-disable-update-schema branch August 25, 2025 09:30
@backport-action
Copy link
Collaborator

github-merge-queue bot pushed a commit that referenced this pull request Aug 25, 2025
…ings default to false (#37168)

# Description
Backport of #37132 to `stable/8.6`.

relates to #32872
houssain-barouni added a commit that referenced this pull request Aug 25, 2025
…d Operate updateSchemaSettings default to false (#37171)

# Description
Backport of #37168 to `release-8.6.25`.

relates to #37132 #32872
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport stable/8.6 Backport a pull request to stable/8.6 component/operate Related to the Operate component/team component/tasklist Related to the Tasklist component/team version:8.6.25
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants