Commit 609e8e6
authored
[BUG]: Don't log offset since records can be empty (#5812)
## Description of changes
_Summarize the changes made by this PR._
- Improvements & Bug fixes
- There was a tracing in RLS where records[0] was printed
unconditionally. However, records can be empty so records[0] goes out of
bound causing a panic during pull logs. Fixed by not tracing it
- New functionality
- ...
## Test plan
_How are these changes tested?_
- [x] Tests pass locally with `pytest` for python, `yarn test` for js,
`cargo test` for rust
## Migration plan
None
## Observability plan
None
## Documentation Changes
None1 parent 3b6dcb4 commit 609e8e6
1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1388 | 1388 | | |
1389 | 1389 | | |
1390 | 1390 | | |
1391 | | - | |
1392 | | - | |
1393 | | - | |
1394 | | - | |
| 1391 | + | |
1395 | 1392 | | |
1396 | 1393 | | |
1397 | 1394 | | |
| |||
0 commit comments