Skip to content

Commit

Permalink
Automated rollback of commit 06b2452.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 696582876
  • Loading branch information
yashykt authored and copybara-github committed Nov 14, 2024
1 parent 35e1bfa commit 94cbb67
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
1 change: 0 additions & 1 deletion src/core/lib/transport/metadata_batch.cc
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ bool DebugStringBuilder::IsAllowListed(const absl::string_view key) const {
allow_list.insert(std::string(LbTokenMetadata::key()));
allow_list.insert(std::string(TeMetadata::key()));
allow_list.insert(std::string(UserAgentMetadata::key()));
allow_list.insert(std::string(W3CTraceParentMetadata::key()));
allow_list.insert(std::string(XEnvoyPeerMetadata::key()));
// go/keep-sorted end
// go/keep-sorted start
Expand Down
10 changes: 1 addition & 9 deletions src/core/lib/transport/metadata_batch.h
Original file line number Diff line number Diff line change
Expand Up @@ -468,14 +468,6 @@ struct LbCostBinMetadata {
MetadataParseErrorFn on_error);
};

// traceparent metadata
struct W3CTraceParentMetadata : public SimpleSliceBasedMetadata {
static constexpr bool kRepeatable = false;
static constexpr bool kTransferOnTrailersOnly = false;
using CompressionTraits = FrequentKeyWithNoValueCompressionCompressor;
static absl::string_view key() { return "traceparent"; }
};

// Annotation added by a transport to note whether a failed request was never
// placed on the wire, or never seen by a server.
struct GrpcStreamNetworkState {
Expand Down Expand Up @@ -1590,7 +1582,7 @@ using grpc_metadata_batch_base = grpc_core::MetadataMap<
grpc_core::GrpcServerStatsBinMetadata, grpc_core::GrpcTraceBinMetadata,
grpc_core::GrpcTagsBinMetadata, grpc_core::GrpcLbClientStatsMetadata,
grpc_core::LbCostBinMetadata, grpc_core::LbTokenMetadata,
grpc_core::XEnvoyPeerMetadata, grpc_core::W3CTraceParentMetadata,
grpc_core::XEnvoyPeerMetadata,
// Non-encodable things
grpc_core::GrpcStreamNetworkState, grpc_core::PeerString,
grpc_core::GrpcStatusContext, grpc_core::GrpcStatusFromWire,
Expand Down

0 comments on commit 94cbb67

Please sign in to comment.