keep worker-id and socket-id in sync with the given order of worker threads
keep worker-id and socket-id in sync with the given order of worker threads

Reviewed By: dddmello, lnicco

Differential Revision: D20240116

fbshipit-source-id: a85049d6cbc3a20c8cc86d70d6715f31384895be

facebookincubator/mvfst,facebookincubator/mvfst,facebookincubator/mvfst,facebookincubator/mvfst,facebookincubator/mvfst