[ https://issues.apache.org/jira/browse/CONNECTORS-1603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Raman Gupta updated CONNECTORS-1603: ------------------------------------ Summary: Global config cannot be replaced when invalid XML stored in Zookeeper (was: Global config corrupted when invalid XML stored in Zookeeper) > Global config cannot be replaced when invalid XML stored in Zookeeper > --------------------------------------------------------------------- > > Key: CONNECTORS-1603 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1603 > Project: ManifoldCF > Issue Type: Bug > Reporter: Raman Gupta > Priority: Major > > When using Zookeeper to store the global config, it seems that the > properties-global.xml is stored verbatim. However, if this file contains > invalid XML, then all subsequent operations fail, including storing the > global config again, as before the global config is stored, the existing > global config is read and parsed, which fails. > The only workaround to this is to use ZK to delete the current configuration > at key `/org.apache.manifoldcf/configuration`, > It should be possible for the `ZooKeeperLockManager` command to overwrite the > configuration at `/org.apache.manifoldcf/configuration` even if the current > value is invalid. -- This message was sent by Atlassian JIRA (v7.6.3#76005)