Skip to content

Commit 9cc397a

Browse files
GODRIVER-3173 Unset pending read state when succeeded
1 parent 50b921b commit 9cc397a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

x/mongo/driver/topology/pool.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1079,6 +1079,8 @@ func awaitPendingRead(ctx context.Context, pool *pool, conn *connection) error {
10791079

10801080
publishPendingReadSucceeded(pool, conn)
10811081

1082+
conn.pendingReadState = nil
1083+
10821084
return nil
10831085
}
10841086

0 commit comments

Comments
 (0)