Uploaded image for project: 'honeycomb'
  1. honeycomb
  2. HONEYCOMB-85

Persistence requires removal of non-datastore directories to remove state

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 16.09
    • None
    • HC distro

      In order to restart honeycomb without any persisted state, I need to do the following:

      sudo rm -rf snapshots/ journal/ instances/ data/ ./etc/opendaylight/karaf/v3po-restconf.xml ./configuration/factory/akka.conf ./etc/opendaylight/honeycomb/config.json ./etc/opendaylight/honeycomb/context.json ;

      It would be good if
      a) I didn't need to remove anything other than snapshots/ journal/ instances/ data/

      It would be AWESOME if
      karaf clean

      Gave me a clean slate. I understand that clean only removes data/, and its probably too difficult to modify THAT behaviour, but if the journal/ instances/ snapshots/ were kept under data/ then this would be a moot point, but my guess is we are inheriting ODL's persistence scheme, which means that would have to be changed there.

      Simply NOT persisting state in anything other than DS would be ace since this is how one expects it to behave.

            jsrnicek_cisco Jan Srnicek
            alagalah Keith Burns
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: