-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 6.10.0
-
Component/s: Repository - Hooks
-
Severity 3 - Minor
-
CtB - Improve Existing
Issue Summary
Sometimes, it's possible to have unreferenced hook scripts on disk when running mesh sidecar. There's meant to be a job that runs each day to clean them up, but this job is not running.
Steps to Reproduce
Enable logging for the scheduled job by adding
logging.logger.com.atlassian.scheduler.core.AbstractSchedulerService=DEBUG
Expected Results
The unreferenced hook script gets deleted from the shared/config/hook-scripts folder within 24 hours.
Actual Results
The below exception is thrown in the log, and the unreferenced script is not deleted.
jobId=HookScriptService.cleanupJob startedAt=Fri Feb 24 12:55:02 AEDT 2023 runOutcome=FAILED message=HibernateException: Could not obtain transaction-synchronized Session for current thread
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
- is related to
-
BBSDEV-19623 Loading...