[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#7699) Fixed one assertion failure during slapo_dds start-up

Full_Name: Ted C. Cheng
Version: HEAD
OS: Ubuntu 11.10
URL: https://www.dropbox.com/s/kw5df5z1oxm3hw2/slapo_dds_start_up_assertion_fix.patch
Submission from: (NULL) (

dds_db_open() did not enumerate dynamic objects before slapo-dds performed
expiration check and purging. As a result, the assert(di->di_num_dynamicObjects
> 0) at dds_counter_cb() may crash. The proposed resolution is to move
dds_count() before dds_expire().

Please review.