]> Cypherpunks.ru repositories - gostls13.git/commit
internal/trace/v2: don't enforce batch order on Ms
authorMichael Anthony Knyszek <mknyszek@google.com>
Fri, 10 Nov 2023 18:48:41 +0000 (18:48 +0000)
committerGopher Robot <gobot@golang.org>
Tue, 14 Nov 2023 16:07:23 +0000 (16:07 +0000)
commite8298c09b1154e3eb3560352ebbea6d11d87772e
tree1ff65ecbecacf429196cbba8ea4243eec4e14588
parentacc8cb6a5f23d7fb57ea5825decd6bf0ae8723e9
internal/trace/v2: don't enforce batch order on Ms

Currently the trace parser enforces that the timestamps for a series of
a batches on the same M come in order. We cannot actually assume this in
general because we don't trust timestamps. The source of truth on the
batch order is the order in which they were emitted. If that's wrong, it
should quickly become evident in the trace.

For #60773.
For #64061.

Change-Id: I7d5a407c9568dd1ce0b79d51b2b538ed6072b26d
Reviewed-on: https://go-review.googlesource.com/c/go/+/541695
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
src/internal/trace/v2/generation.go