1
0
Fork 0

RollBack in case of error WORKS!!!

This commit is contained in:
Sandro La Bruzzo 2021-01-29 17:21:42 +01:00
parent 8ee82576c6
commit e423634cb6
1 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@
<property> <property>
<name>collectionMode</name> <name>collectionMode</name>
<description>Should be Refresh or Incremental</description> <description>Should be REFRESH or INCREMENTAL</description>
</property> </property>
</parameters> </parameters>
@ -164,8 +164,8 @@
<action name="RollBack"> <action name="RollBack">
<java> <java>
<main-class>eu.dnetlib.dhp.aggregation.mdstore.MDStoreActionNode</main-class> <main-class>eu.dnetlib.dhp.aggregation.mdstore.MDStoreActionNode</main-class>
<arg>--action</arg><arg>COMMIT</arg> <arg>--action</arg><arg>ROLLBACK</arg>
<arg>--mdStoreVersion</arg><arg>${wf:actionData('CollectionWorker')['mdStoreVersion']}</arg> <arg>--mdStoreVersion</arg><arg>${wf:actionData('StartTransaction')['mdStoreVersion']}</arg>
<arg>--mdStoreManagerURI</arg><arg>${mdStoreManagerURI}</arg> <arg>--mdStoreManagerURI</arg><arg>${mdStoreManagerURI}</arg>
</java> </java>
<ok to="Kill"/> <ok to="Kill"/>