xzyJavaX commented on PR #9744: URL: https://github.com/apache/skywalking/pull/9744#issuecomment-1272476454
I think this should be feasible: Continue to judge after the alreadyHaveTaskList is found,if alreadyHaveTaskList isEmpty,continue to query DB,query condition is query.must(Query.range(ProfileTaskRecord.START_TIME).lte(endTimeBucket)); query.must(Query.range(ProfileTaskRecord.TIME_BUCKET).gte(endTimeBucket)); If the data can be found, it indicates that an overlay has occurred, and the task should not be created at this time. -- 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]
