jrmccluskey commented on a change in pull request #15815:
URL: https://github.com/apache/beam/pull/15815#discussion_r737713589



##########
File path: sdks/go/pkg/beam/core/runtime/harness/statemgr.go
##########
@@ -107,10 +105,6 @@ func (s *ScopedStateReader) Close() error {
        s.mu.Lock()
        s.closed = true
        s.mgr = nil
-       for _, r := range s.opened {
-               r.Close() // force close all opened readers

Review comment:
       Gotcha, that callNoPanic wrapper is nice. Do you have any insight into 
how we'd handle potential errors thrown during Reset() calls in the deferred 
postInvoke()? Looking through all of the types that are handled here, none of 
them can actually return an error as written, but I'd rather not suppress any 
errors since I'll be doing more dev work down here with multimap support




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to