Zorka 1.0.9 release notes

Unfortunately database format changed a bit again, see below.

Upgrading ZICO collector

When old data is around, ZICO collector won’t be able to start properly because of datastore format incompatibilites.

  • before upgrading log into old collector and perform backup of collector configuration by clicking into backup link in administration panel;

  • remove datafiles that can be rebuilt:

$ find . -type f -name *.db -print -delete
$ find . -type f -name *.db.p -print -delete
$ find . -type f -name *.db.t -print -delete
$ cd data
$ for D in * ; do if [ -d $D/tidx ] ; then rm -rf $D/tidx ; fi ; done
  • run zico-util to rebuild deleted files:
$ java -jar zico-util.jar check $PWD

Depending on amount of data in ZICO stores, this step can take anything from few minutes to few hours as it requires scanning of all data stores. Alternatively administrator can remove contents of $ZICO_HOME/data directory and start collecting data from scratch.