lshmouse opened a new issue, #4093:
URL: https://github.com/apache/incubator-devlake/issues/4093

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   Gitlab(14.9.5+) api will Omit `X-Total` and `X-Total-Pages` headers when 
items count is more than 10,000 
(https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/23931), which will 
make data losing in gitlab plugin.
   
   
   ### What do you expect to happen
   
   Gitlab data syncing will success without data losing with new 
Gitlab(14.9.5+)  server 
   
   ### How to reproduce
   
   Try gitlab(14.9.5+) api:  
/api/v4/projects/4/merge_requests?page=1&per_page=100&sort=asc&with_stats=true  
with more than 10K +  merge_requests, you will find no `X-Total` and 
`X-Total-Pages` headers in response.
   
   And the table _raw_gitlab_api_merge_requests only has 100 records.
   
   
![7fyZPP6fpk](https://user-images.githubusercontent.com/118687/210483326-6db5b00d-db81-48ba-a17f-7eef3efcbebf.png)
   
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   v0.14.2
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to