Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove fixPrototypeChain agency migration #14658

Merged
merged 4 commits into from Aug 19, 2021
Merged

Conversation

@neunhoef
Copy link
Contributor

@neunhoef neunhoef commented Aug 18, 2021

  • Remove fixPrototypeChain code.
  • CHANGELOG.

This agency migration code was introduced with 3.2.1, as far as I see.
It handled the case that somebody might have three collections A, B and
C, with B having distributeShardsLike set to "A", and C having
distributeShardsLike set to "B", by migrating this to set C also
to have distributeShardsLike set to "A".

This migration was broken by a recent fix in devel (not in 3.8),
therefore no backports are necessary and no customers are in danger.

Note that this makes it impossible to upgrade directly from a version
< 3.2 to a version >= 3.9, if one has such a distributeShardsLike
chain as described above.

Scope & Purpose

(Please describe the changes in this PR for reviewers - mandatory)

  • [*] 💩 Bugfix (requires CHANGELOG entry)
  • [*] 📖 CHANGELOG entry made

Backports:

  • [*] No backports required

Related Information

(Please reference tickets / specification / other PRs etc)

Testing & Verification

(Please pick either of the following options)

  • This change is a trivial rework / code cleanup without any test coverage.
  • [*] The behavior in this PR was manually tested
  • [*] This change is already covered by existing tests, such as release
    test automation.
neunhoef added 2 commits Aug 18, 2021
This was fixing a very rare user configuration in the collection setup
and was introduced in 3.2. This change will make it impossible to
upgrade from <= 3.1 directly to 3.9, provided somebody has a chain
of `distributeShardsLike` settings, which is OK.
@neunhoef neunhoef added this to the devel milestone Aug 18, 2021
@neunhoef neunhoef self-assigned this Aug 18, 2021
@neunhoef neunhoef requested review from kvahed and maierlars Aug 18, 2021
@neunhoef neunhoef merged commit a043d4f into devel Aug 19, 2021
@neunhoef neunhoef deleted the bug-fix/bad-agency-migration branch Aug 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants