Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.9.0
-
Fix Version/s: 3.13.0
-
Component/s: Logging, Scheduled Tasks
-
Labels:
-
Story Points:1
Description
Example log messages that might be visible when a task is Cancelled:
2018-04-23 03:30:53,835+0200 INFO [quartz-5-thread-14] *SYSTEM org.sonatype.nexus.quartz.internal.task.QuartzTaskInfo - Task 'System - Repository Health Check: hibernate-spatial-mb' [healthcheck] state change WAITING -> RUNNING 2018-04-23 03:30:53,863+0200 INFO [quartz-5-thread-14] *SYSTEM org.sonatype.nexus.scheduling.internal.TaskSchedulerImpl - Task 'System - Repository Health Check: hibernate-spatial-mb' [healthcheck] scheduled: hourly 2018-04-23 03:30:53,863+0200 INFO [quartz-5-thread-14] *SYSTEM org.sonatype.nexus.quartz.internal.task.QuartzTaskFuture - Task canceled 'System - Repository Health Check: hibernate-spatial-mb' [healthcheck] 2018-04-23 03:30:53,866+0200 INFO [quartz-5-thread-14] *SYSTEM org.sonatype.nexus.quartz.internal.task.QuartzTaskInfo - Task 'System - Repository Health Check: hibernate-spatial-mb' [healthcheck] state change RUNNING -> WAITING (CANCELED)
The healthcheck task has no task logs by design in this case, and no other log messages indicate why the healthcheck task was immediately cancelled.
Expected
There should be a log message at INFO explaining the root cause of task cancellation ( server shutting down, user manually cancelled the task, specific programatic condition not met to proceed, etc.? ) every time any task is cancelled.
Attachments
Issue Links
- is related to
-
NEXUS-16729 FileBlobStore Attempt to access non-existent blob path$health-check WARN log spam
-
- Closed
-