forked from D-Net/dnet-hadoop
RollBack in case of error WORKS!!!
This commit is contained in:
parent
8ee82576c6
commit
e423634cb6
|
@ -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"/>
|
||||||
|
|
Loading…
Reference in New Issue