Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation throttling appears to leave some tasks hanging #304

Open
ledsoft opened this issue Oct 2, 2024 · 0 comments
Open

Validation throttling appears to leave some tasks hanging #304

ledsoft opened this issue Oct 2, 2024 · 0 comments
Assignees

Comments

@ledsoft
Copy link
Contributor

ledsoft commented Oct 2, 2024

The following logs appears to show multiple validation tasks to be submitted to the validation scheduler:

dss-test_termit-server_1  | 02-10-2024 14:05:31.793 [] [TermItScheduler-5] TRACE c.c.k.t.u.t.ThrottleAspect - Throttling task with key 'ThrottleAspect.Identifier{group='',identifier='ResultCachingValidator.validate(..)-https://agentura-cas.cz/DSS/dss---datove-sablony'}'
dss-test_termit-server_1  | 02-10-2024 14:05:31.794 [] [TermItScheduler-1] TRACE c.c.k.t.u.t.ThrottleAspect - Running throttled task [0 left] [1 running] 'ThrottleAspect.Identifier{group='',identifier='ResultCachingValidator.validate(..)-https://agentura-cas.cz/DSS/dss---datove-sablony'}'
dss-test_termit-server_1  | 02-10-2024 14:05:31.794 [] [TermItScheduler-5] TRACE c.c.k.t.u.l.LongRunningTasksRegistry - Long running task changed state: vocabularyValidation{PENDING, 10bb4592-6c88-496f-b0a3-139fe9258361}
dss-test_termit-server_1  | 02-10-2024 14:05:31.794 [] [TermItScheduler-1] TRACE c.c.k.t.u.l.LongRunningTasksRegistry - Long running task changed state: vocabularyValidation{RUNNING, startedAt=2024-10-02T14:05:31Z, 10bb4592-6c88-496f-b0a3-139fe9258361}
dss-test_termit-server_1  | 02-10-2024 14:05:31.795 [] [TermItScheduler-1] DEBUG c.c.k.t.p.validation.Validator - Validating [https://agentura-cas.cz/DSS/dss---datove-sablony, https://agentura-cas.cz/DSS/dss---skupiny-vlastnosti, https://agentura-cas.cz/DSS/dss---souvisejici-skupiny-vlastnosti, https://agentura-cas.cz/DSS/dss---vlastnosti]
dss-test_termit-server_1  | 02-10-2024 14:05:31.795 [] [TermItScheduler-1] TRACE c.c.k.t.p.validation.Validator - Constructing model from RDF4J repository...
dss-test_termit-server_1  | 02-10-2024 14:05:32.934 [] [TermItScheduler-1] TRACE c.c.k.t.p.validation.Validator - Model constructed, running validation...
dss-test_termit-server_1  | 02-10-2024 14:06:37.015 [] [TermItScheduler-3] TRACE c.c.k.t.u.t.ThrottleAspect - Throttling task with key 'ThrottleAspect.Identifier{group='',identifier='ResultCachingValidator.validate(..)-https://agentura-cas.cz/DSS/dss---datove-sablony'}'
dss-test_termit-server_1  | 02-10-2024 14:06:37.017 [] [TermItScheduler-3] TRACE c.c.k.t.u.l.LongRunningTasksRegistry - Long running task changed state: vocabularyValidation{PENDING, 51650369-a063-4717-94d1-c6976cdb9785}
dss-test_termit-server_1  | 02-10-2024 14:07:43.017 [] [TermItScheduler-6] TRACE c.c.k.t.u.t.ThrottleAspect - Throttling task with key 'ThrottleAspect.Identifier{group='',identifier='ResultCachingValidator.validate(..)-https://agentura-cas.cz/DSS/dss---datove-sablony'}'
dss-test_termit-server_1  | 02-10-2024 14:08:48.091 [] [TermItScheduler-6] TRACE c.c.k.t.u.t.ThrottleAspect - Throttling task with key 'ThrottleAspect.Identifier{group='',identifier='ResultCachingValidator.validate(..)-https://agentura-cas.cz/DSS/dss---datove-sablony'}'
dss-test_termit-server_1  | 02-10-2024 14:09:33.920 [] [TermItScheduler-1] DEBUG c.c.k.t.p.validation.Validator - Done.
dss-test_termit-server_1  | 02-10-2024 14:09:34.038 [] [TermItScheduler-1] TRACE c.c.k.t.u.l.LongRunningTasksRegistry - Long running task changed state: vocabularyValidation{DONE, startedAt=2024-10-02T14:05:31Z, 10bb4592-6c88-496f-b0a3-139fe9258361}
dss-test_termit-server_1  | 02-10-2024 14:09:34.038 [] [TermItScheduler-1] TRACE c.c.k.t.u.t.ThrottleAspect - Finished throttled task [1 left] [0 running] 'ThrottleAspect.Identifier{group='',identifier='ResultCachingValidator.validate(..)-https://agentura-cas.cz/DSS/dss---datove-sablony'}'
dss-test_termit-server_1  | 02-10-2024 14:09:44.038 [] [TermItScheduler-6] TRACE c.c.k.t.u.t.ThrottleAspect - Running throttled task [0 left] [1 running] 'ThrottleAspect.Identifier{group='',identifier='ResultCachingValidator.validate(..)-https://agentura-cas.cz/DSS/dss---datove-sablony'}'
dss-test_termit-server_1  | 02-10-2024 14:09:44.038 [] [TermItScheduler-6] TRACE c.c.k.t.u.l.LongRunningTasksRegistry - Long running task changed state: vocabularyValidation{RUNNING, startedAt=2024-10-02T14:09:44Z, 51650369-a063-4717-94d1-c6976cdb9785}
dss-test_termit-server_1  | 02-10-2024 14:09:44.295 [] [TermItScheduler-6] TRACE c.c.k.t.u.l.LongRunningTasksRegistry - Long running task changed state: vocabularyValidation{DONE, startedAt=2024-10-02T14:09:44Z, 51650369-a063-4717-94d1-c6976cdb9785}
dss-test_termit-server_1  | 02-10-2024 14:09:44.296 [] [TermItScheduler-6] TRACE c.c.k.t.u.t.ThrottleAspect - Finished throttled task [0 left] [0 running] 'ThrottleAspect.Identifier{group='',identifier='ResultCachingValidator.validate(..)-https://agentura-cas.cz/DSS/dss---datove-sablony'}'

But there are no tasks actually running. However, the UI indicates that there are tasks scheduled for execution (and none is being executed):
image

@lukaskabc lukaskabc self-assigned this Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants