-
Notifications
You must be signed in to change notification settings - Fork 107
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
Fix last digit wrap in customDID sequence #11948
Conversation
Jenkins results:
|
Please test V99 and V100 as well |
I added new unit test for this use-case too, it runs fine in my local area, but jenkins are triggered again. |
Jenkins results:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, please squash commits accordingly.
89733c1
to
6c8e7fb
Compare
commits are squashed |
Jenkins results:
|
Thanks Valentin! |
Fixes #11736
Status
ready
Description
I found that current algorithm in
customDID
function creates wrong sequence number when last digit is more than 10 and lasts with number 9, i.e. 19, 1119, 29, etc. This leads to non-sequential sequence number wraps, e.g. (taken from cmsweb-testbed):Please see that transition record went from
-V19
to-V110
. This PR fixes this issue.Is it backward compatible (if not, which system it affects?)
YES
Related PRs
External dependencies / deployment changes