r14805: use tdb_lock_bystring() to prevent race conditions in notify add/remove