diff --git a/bigquery/storage/managedwriter/managed_stream.go b/bigquery/storage/managedwriter/managed_stream.go index f66e58efe4c..e29d54395c4 100644 --- a/bigquery/storage/managedwriter/managed_stream.go +++ b/bigquery/storage/managedwriter/managed_stream.go @@ -358,7 +358,6 @@ func recvProcessor(ctx context.Context, arc storagepb.BigQueryWrite_AppendRowsCl recordStat(ctx, AppendResponses, 1) if status := resp.GetError(); status != nil { - fc.release(nextWrite.reqSize) nextWrite.markDone(NoStreamOffset, grpcstatus.ErrorProto(status), fc) continue }