ConfD User Community

Regarding multiple sessions


#1

hi,

I have opened 2 sessions between same server and client.
Now i have sent my configuration to candidate from session 1.

But when i do ‘get-config’ operation on candidate on SESSION 2, i still see the configuration that was done from session 1.

Please clarify if this is tail -f bug or if i am missing something

thanks


#2

There is a single candidate datastore, and multiple sessions can make modifications in this datastore unless you lock the datastore. Since it is a single datastore, any changes made by one session will be visible by the other session.

The intent was that you might want to build up a set of configuration changes in the candidate, possibly using multiple sessions, then you could validate the configuration, and once satisfied that the configuration was valid and complete, commit the changes to the running datastore.