-
Notifications
You must be signed in to change notification settings - Fork 486
Description
Hi, I am a member of the Database Group at GitLab.
I am creating this issue in response to a few other issues I can see already created (#805, #809)
It seems that there are GitLab projects with more than 2.15 Billion builds, which means that you have to switch to using a Long integer for those IDs.
In general, most IDs in GitLab are using 8-byte integers, with a few old tables (pre rails 5.1) that were using 4-byte integers for their PKs. Those are also being transitioned to use 8-byte integers, so you can safely assume that in the long run all the IDs will be 8-byte integers. (You can find more details in a recent epic where we documented our efforts to address the tables at most risk to overflow)
If you agree, I would propose that you switch all the IDs in gitlab4j to Long from Integer. Thank you!