spaghettidba / WorkloadTools

A collection of tools to collect, analyze and replay SQL Server workloads, on premises and in the cloud
MIT License
234 stars 53 forks source link

Events are not replayed in the correct order #52

Closed spaghettidba closed 4 years ago

spaghettidba commented 5 years ago

Events are not replayed in the correct order when synchronization mode is off. The original wait times help reproducing the correct sequence in synchronization mode, but there is no such guarantee even in that case.

Add a global sequence number to help synchronization.

See comment by @martin-guth in https://github.com/spaghettidba/WorkloadTools/issues/50#issuecomment-482523700_