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

   ### 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
   
   Sonarqube issue collection will split range with createdAfter and 
createdBefore if total issue count is over 10k. If the issues are created at 
same time, the split of time range will end up with createdAfter equal to 
createdBefore, which cause sonarqube api failed with error  "Start bound cannot 
be larger or equal to end bound".
   
   ### What do you expect to happen
   
   Successfully sync sonarqube issues.
   
   ### How to reproduce
   
   Sync issues from sonarqube project with issue count over 10k, and almose all 
issues have same created time. Will failed with error  "Start bound cannot be 
larger or equal to end bound". Check the API request to sonarqube will see the 
parameter createdAfter equals to createdBefore.
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   v0.17
   
   ### 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