Commit confirmed with timeout rollback, is not able to revert data from CDB

I tried configure the data using NETCONF followed by commit confirmed with some persist-id and timeout of 40 secs. After timeout is over, i got message showing configuration is reverted. But actually configured data is present in CDB, it is not reverted. This i ran with candidate database.
Your help is appreciated, thanks in advance.

Hi,

Make sure that you read from the CDB running datastore and not from the CDB candidate datastore when you check if the configured data is present in CDB.

When you commit confirmed the configuration, the candidate datastore diff vs running it is written in a transaction to the running datastore. If the commit is not confirmed the configuration in the running datastore is reverted, but the configuration still remain in the candidate datastore.