Bug fixes. 1. set the correct instance_id for TaskTrigger with partition id. 2. operator[] for map, ends up creating element, which causes race condition. Avoid using oeprator [] and change to const function.