[BugFix: ZSTACK-34749] add lock to avoid race condition in batch_apply_userdata and apply_userdata
[BugFix: ZSTACK-34749] add lock to avoid race condition in batch_apply_userdata and apply_userdata

zstackio/zstack-utility,zstackio/zstack-utility,zstackio/zstack-utility