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

History Cleanup Doesn't cleanup Entries #18

Open
galenatjpl opened this issue Feb 10, 2021 · 1 comment
Open

History Cleanup Doesn't cleanup Entries #18

galenatjpl opened this issue Feb 10, 2021 · 1 comment
Milestone

Comments

@galenatjpl
Copy link
Contributor

galenatjpl commented Feb 10, 2021

The working theory is that the HistoryCleanup Daemon might be trying to cleanup the process engine that doesn't house records.
There are two applicationContexts:

cws-ui:

	<bean id="processEngineConfiguration"  class="org.camunda.bpm.engine.spring.SpringProcessEngineConfiguration">
        <property name="processEngineName" value="default" />

cws-engine:

	<bean id="processEngineConfiguration"
		  class="org.camunda.bpm.engine.spring.SpringProcessEngineConfiguration">
        <property name="processEngineName" value="default2" />

Invoking the REST API to cleanup doesn't seem to work either.

Example of records not cleaned up:

MariaDB [cws]> select TYPE_, PROC_DEF_KEY_, TIME_, REMOVAL_TIME_ from ACT_HI_DETAIL order by REMOVAL_TIME_ asc limit 5;
+----------------+---------------+-------------------------+-------------------------+
| TYPE_          | PROC_DEF_KEY_ | TIME_                   | REMOVAL_TIME_           |
+----------------+---------------+-------------------------+-------------------------+
| VariableUpdate | disk_usage    | 2021-01-14 18:57:15.215 | 2021-01-28 18:57:15.532 |
| VariableUpdate | disk_usage    | 2021-01-14 18:57:15.216 | 2021-01-28 18:57:15.532 |
| VariableUpdate | disk_usage    | 2021-01-14 18:57:15.216 | 2021-01-28 18:57:15.532 |
| VariableUpdate | disk_usage    | 2021-01-14 18:57:15.216 | 2021-01-28 18:57:15.532 |
| VariableUpdate | disk_usage    | 2021-01-14 18:57:15.216 | 2021-01-28 18:57:15.532 |
+----------------+---------------+-------------------------+-------------------------+
5 rows in set (0.06 sec)
@voxparcxls
Copy link
Collaborator

Fix:
#106

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