Skip to content

util/tracing: rename FormatRecordedSpans to Recording.String()#41494

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
andreimatei:tracing.string
Oct 18, 2019
Merged

util/tracing: rename FormatRecordedSpans to Recording.String()#41494
craig[bot] merged 1 commit intocockroachdb:masterfrom
andreimatei:tracing.string

Conversation

@andreimatei
Copy link
Copy Markdown
Contributor

Elevate the discoverability of FormatRecordedSpans() by making it the
stringer for a Recording. Remove the inferior stringer I had previously
added.

Release note: None

@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

l[i], l[j] = l[j], l[i]
}

// FormatRecordedSpans formats the given spans for human consumption, showing the
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/FormatRecordedSpans/String/

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Elevate the discoverability of FormatRecordedSpans() by making it the
stringer for a Recording. Remove the inferior stringer I had previously
added.

Release note: None
Copy link
Copy Markdown
Member

@RaduBerinde RaduBerinde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @danhhz and @RaduBerinde)

Copy link
Copy Markdown
Contributor Author

@andreimatei andreimatei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors r+

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @danhhz)

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Oct 15, 2019

Build failed (retrying...)

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Oct 15, 2019

Build failed

@andreimatei
Copy link
Copy Markdown
Contributor Author

andreimatei commented Oct 15, 2019 via email

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Oct 15, 2019

Build failed

Copy link
Copy Markdown
Contributor Author

@andreimatei andreimatei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors r+

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @danhhz)

craig bot pushed a commit that referenced this pull request Oct 17, 2019
33655: storage: skip TestWedgedReplicaDetection on test short r=andreimatei a=andreimatei

Takes 10s. I've opened #33654 asking for an investigation.

Release note: None

41391: roachtest: sort clusters in leftover clusters report r=andreimatei a=andreimatei

They used to displayed in non-deterministic map iteration order.

Release note: None

41401: roachtest: plumb the cluster id prefix from --cluster-id r=andreimatei a=andreimatei

The flag was not hooked up to anything.

Release justification: N/A

Release note: None

41451: sql: use a different error code for communication failure r=andreimatei a=andreimatei

Before this patch, DistSQL would use the the Postgres
ConnectionFailure code when a network stream between processors on
different nodes would break. This was the wrong code to use; Postgres
uses this code for trouble with the client connection, not internal
problems. There's evidence that middleware treats this code as a signal
to tear down a connection (#31645). This patch switches to a new,
CRDB-specific error code in the "internal error" class.

Fixes #31645

Release note: None

41494: util/tracing: rename FormatRecordedSpans to Recording.String() r=andreimatei a=andreimatei

Elevate the discoverability of FormatRecordedSpans() by making it the
stringer for a Recording. Remove the inferior stringer I had previously
added.

Release note: None

Co-authored-by: Andrei Matei <andrei@cockroachlabs.com>
@craig
Copy link
Copy Markdown
Contributor

craig bot commented Oct 18, 2019

Build succeeded

@craig craig bot merged commit cbe43c3 into cockroachdb:master Oct 18, 2019
@andreimatei andreimatei deleted the tracing.string branch October 21, 2019 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants