You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1877,11 +1887,11 @@ type gRPCBidiReader struct {
1877
1887
closeManagerchanbool
1878
1888
managerRetrychanbool
1879
1889
receiverRetrychanbool
1890
+
mu sync.Mutex// protects all vars in gRPCBidiReader from concurrent access
1880
1891
mpmap[int64]rangeSpec// always use the mutex when accessing the map
1881
-
mu sync.Mutex// protects map from concurrent access.
1882
-
donebool
1883
-
activeTaskint64
1884
-
objectSizeint64
1892
+
donebool// always use the mutex when accessing this variable
1893
+
activeTaskint64// always use the mutex when accessing this variable
1894
+
objectSizeint64// always use the mutex when accessing this variable
1885
1895
retrierfunc(error, string)
1886
1896
streamRecreationbool// This helps us identify if stream recreation is in progress or not. If stream recreation gets called from two goroutine then this will stop second one.
0 commit comments