riyasaroch25 commented on issue #28025:
URL: https://github.com/apache/beam/issues/28025#issuecomment-7112283998
Hi, I read @mxtymoshyk's analysis. If I've got it right, each scan RPC is
bounded, but `ClientScanner.loadCache()` keeps looping on heartbeats with no
rows, so `advance()` just sits in `iter.hasNext()`:
```mermaid
sequenceDiagram
participant R as HBaseReader.advance
participant S as ClientScanner
participant RS as RegionServer
R->>S: hasNext()
loop no matching rows
S->>RS: scan RPC
RS-->>S: heartbeat, 0 rows
end
Note over R: looks hung, no progress signal
```
I'd start with a repro in `HBaseIOTest` using a filter that matches nothing,
then add metrics for rows scanned and heartbeats so a slow scan is
distinguishable from a real hang. @mxtymoshyk, are you planning a PR? Happy to
help or take a part. Would metrics be OK here, or would you prefer just docs?
--
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]