Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

[Uniques V2] Auto-incremental CollectionId #12166

Closed

Conversation

jsidorenko
Copy link
Contributor

This PR adds a new field called ref_id to Uniques Collections. Since we can't make the CollectionId field itself auto-incremental (as discussed here, as a possible solution we can have this internal field, that will be auto-incremented in every collection creation.
This solves the problem when one collection was deleted and then another with the same CollectionId was created. That new ref_id field would allow distinguishing between those collections.

@jsidorenko jsidorenko added B7-runtimenoteworthy C1-low PR touches the given topic and has a low impact on builders. labels Sep 2, 2022
@github-actions github-actions bot added the A0-please_review Pull request needs code review. label Sep 2, 2022
@jsidorenko jsidorenko added the D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit label Sep 2, 2022
@jsidorenko
Copy link
Contributor Author

jsidorenko commented Sep 6, 2022

Closing in favor of #12057

@jsidorenko jsidorenko closed this Sep 6, 2022
@jsidorenko jsidorenko deleted the js/uniques-v2-auto-inc-ids branch December 8, 2022 14:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant