On Mon, Feb 13, 2017 at 10:43 PM, bjb <bjb2...@163.com> wrote: > *The point of the backup is to backup persistent data > since non-persistent operational data is reproduced on restart. * > > I generated non-persistent operational data using dsbenchmark. After > restart karaf, all operational data is gone. Do you suggest that some > non-persistent data will be reproduced by persistent data? > > Operational data represents the operational state of the network and thus becomes stale when the controller is shut down. Apps typically re-discover and re-populate the operational state on restart. Therefore operational data isn't persisted by default but it can be configured to be persistent if desired.
> > 在 2017-02-14 11:22:08,"Tom Pantelis" <tompante...@gmail.com> 写道: > > > > On Mon, Feb 13, 2017 at 10:15 PM, bjb <bjb2...@163.com> wrote: > >> Hi All: >> I have two questions on understanding cluster-admin implemention: >> >> 1. cluster-admin:remove_shard_replica >> This api is to remove the shard replica on particular member. There >> is a variable in AbstractLeader.java named 'minReplicationCount' which does >> not update when shard replica is removed. >> Eg: 5 cluster members ecah have shard 'default', node 1 is leader. >> After invoking the api to remove shard 'default' on member 4, 5, the >> minReplicationCount is still 3. Why not recalculate the remain 3 member >> whose minReplicationCount is actually 2? >> >> That is an oversight. > > >> 2. cluster-admin:backup-datastore >> The implemention of GetSnapshot is to capture the snapshot for >> persistent shard, and to initiate a snapshot containing just the >> persistable(eg election term info) for non-persistent shard. >> In some situation, I want to export the config-datastore(persistent) and >> the operational-datastore(non-persistent) on production environment and >> to restore them on testing environment to reproduce the running status. But >> the non-persistent is not available using backup api. How can I export both >> non-persistent and persistent datastore? >> >> > The point of the backup is to backup persistent data since non-persistent > operational data is reproduced on restart. > > >> Hope to get your help. >> Thanks >> >> >> >> >> >> >> >> _______________________________________________ >> controller-dev mailing list >> controller-dev@lists.opendaylight.org >> https://lists.opendaylight.org/mailman/listinfo/controller-dev >> >> > > > >
_______________________________________________ controller-dev mailing list controller-dev@lists.opendaylight.org https://lists.opendaylight.org/mailman/listinfo/controller-dev