SERVER-133797ClosedFixed
Fix index build metric object lifetime bug
Fixes an issue relating to the lifetime of variables used to track the number of bytes inserted/deleted from indexes as part of an index build's drain writes phase. This issue was recently caught with an ASAN failure.