You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by "klesh (via GitHub)" <gi...@apache.org> on 2023/03/10 04:13:00 UTC

[GitHub] [incubator-devlake] klesh opened a new issue, #4638: [Refactor][jira] Simplify diffSync logic for worklog/changelog/remotelink collectors

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

   ## What and why to refactor
   
   Previously, we relied on the `issue_updated` from worklong/changelog/remotelink tables to filter the issue ids that need to be recollected because it was the only viable way to implement diffSync at the time, to that end, we incorporated some complicated SQL:
   
   https://github.com/apache/incubator-devlake/blob/c42a584cdb900ec09448e2a871b4407eb8c08aa4/backend/plugins/jira/tasks/worklog_collector.go#L61
   
   
   However, with the support from the `api_collector_with_state`, the logic can be simplified to just utilize the `LatestSuccessStart` to filter the issues.
   
   ## Describe the solution you'd like
   Get rid of the complicated SQL, filter the issues with `issue.updated_date > LatestSuccessStart`
   
   ## Related issues
   #4535 
   


-- 
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: commits-unsubscribe@devlake.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] mindlesscloud closed issue #4638: [Refactor][jira] Simplify diffSync logic for worklog/changelog/remotelink collectors

Posted by "mindlesscloud (via GitHub)" <gi...@apache.org>.
mindlesscloud closed issue #4638: [Refactor][jira] Simplify diffSync logic for worklog/changelog/remotelink collectors
URL: https://github.com/apache/incubator-devlake/issues/4638


-- 
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: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org