percona / percona/support-snippets
network_connections_log_parser.py triggering "list index out of range" with MongoDB 3.6 log
Open
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 25
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
./network_connections_log_parser.py ~/Percona/tmp/mongo3.6.log
list index out of range
list index out of range
(...)
list index out of range
list index out of range
Completed processing of log file /home/fernando/Percona/tmp/mongo3.6.log:
- Number of recorded connections: 14
- Number of precessed seconds: 0
- Generated JSON file: /home/fernando/Percona/tmp/mongo3.6.log.json
- Generated CSV file: /home/fernando/Percona/tmp/mongo3.6.log.csv
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Run ./network_connections_log_parser.py against the reported MongoDB 3.6 log and inspect network_connections_log_parser.py where the repeated “list index out of range” messages occur. Determine why those log lines are not handled, then verify that processing completes without the errors and still generates the reported JSON and CSV outputs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mongodb, python
- Domain
- databases, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100