Skip to content

Commit 645673c

Browse files
committed
Make unused traceId and parentId field optional.
Change-Id: I3e622e7febd8d385d5c6fff8c8572accb39c0fc9
1 parent ba79d57 commit 645673c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hadoop-hdfs-project/hadoop-hdfs-client/src/main/proto/datatransfer.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ message BaseHeaderProto {
5858
}
5959

6060
message DataTransferTraceInfoProto {
61-
required uint64 traceId = 1;
62-
required uint64 parentId = 2;
61+
optional uint64 traceId = 1;
62+
optional uint64 parentId = 2;
6363
optional bytes spanContext = 3;
6464
}
6565

0 commit comments

Comments
 (0)