raft: add Configure

Configuration change
Yes. Trigger call here is for garbage collection of r.ID in wait struct, or r.ID will stay in wait forever.