If the CDO mode operation fails, you can execute the same operation using the resync feature.
For example: A vSphere Distributed Switch (VDS) gets deleted from the NSX Manager database, when the last cluster associated with that VDS gets unconfigured from the VXLAN. Then, NSX Manager removes the CDO-related opaque property from VDS. If the removal of opaque property fails due to some reason, the opaque property remains in VDS. Now if you disable the CDO mode and configure VXLAN on a host associated with that VDS, the CDO gets enabled on that host as the opaque property is present and VNI is also present in the controller. In this case, use the resync feature to apply the CDO disabled mode again. Now, NSX Manager tries to remove the opaque property from VDS.
Prerequisites
CDO mode enable or disable operation has failed.