confd_load tool has two options to load and xml.
- When used with -m argument, it merges the existing configuration with the incoming one.
- Without -m, it replaces the original configuration, with the new one.
When second option(without -m, that is replace) is used, how does the delete notification to subscribers work?
Will confd sends delete for all original configurations and create for the new configuration
Delete only for the configurations that are not present in new configuration? With some smart diff approach.
For example in current configuration I have
And in new configuration
and I load the new config with confd_load -l new.xml,
will I get
4 deletes and 4 create?
1 delete and 1 create?