Skip to content

Commit 4849d10

Browse files
committed
* Removed the processing of trailer metadata on stream calls
1 parent 356d366 commit 4849d10

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
* Removed the processing of trailer metadata on stream calls
2+
13
## v3.26.7
24
* Updated the `ydb-go-genproto` dependency
35

internal/table/session.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -917,13 +917,9 @@ func (s *session) StreamReadTable(
917917

918918
ctx, cancel := context.WithCancel(ctx)
919919

920-
t := s.trailer()
921-
defer t.processHints()
922-
923920
stream, err = s.tableService.StreamReadTable(
924921
balancer.WithEndpoint(ctx, s),
925922
&request,
926-
t.Trailer(),
927923
)
928924

929925
if err != nil {
@@ -1001,13 +997,9 @@ func (s *session) StreamExecuteScanQuery(
1001997

1002998
ctx, cancel := context.WithCancel(ctx)
1003999

1004-
t := s.trailer()
1005-
defer t.processHints()
1006-
10071000
stream, err = s.tableService.StreamExecuteScanQuery(
10081001
balancer.WithEndpoint(ctx, s),
10091002
&request,
1010-
t.Trailer(),
10111003
)
10121004

10131005
if err != nil {

0 commit comments

Comments
 (0)