Unable to lock database in webui

Hi Team,

We are using lock_db api to lock the db of the system.But lock api is failing.

 JsonRpc('lock_db', {                                                              
              db: 'running'                                               
            }).done(function() {                                                                 
                                                                                                                      
           alert('done');                                          
                                                                                   
        }).fail(function(err) {                                           
             alert("fail")                                                                       
        });  

I am always receiving always fail alert.

Kindly provide idea in implementing this.

Thanks in advance,
Banumoorthy

Hi Banumoorthy,

This is a bug with both the 6.0.3 and the 6.1.1 releases. It will be addressed in an upcoming minor release for ConfD premium. In the meantime, you can work with an older release of ConfD. The lock_db method call works fine in the 5.4.5 release.

Regards,

Wai