Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion Error - block cache parsing #24

Open
Yuval-Ariel opened this issue Aug 28, 2023 · 3 comments
Open

Assertion Error - block cache parsing #24

Yuval-Ariel opened this issue Aug 28, 2023 · 3 comments
Assignees

Comments

@Yuval-Ariel
Copy link

error:

python3 log_parser.py -j -c short LOG  
Traceback (most recent call last):
  File "log_parser.py", line 352, in <module>
    main()
  File "log_parser.py", line 292, in main
    parsed_log = parse_log(log_file_path)
  File "log_parser.py", line 73, in parse_log
    return ParsedLog(log_file_path, log_lines,
  File "log-parser/log_file.py", line 184, in __init__
    self.parse_rest_of_log()
  File "log-parser/log_file.py", line 470, in parse_rest_of_log
    if self.try_parse_as_stats_entries():
  File "log-parser/log_file.py", line 412, in try_parse_as_stats_entries
    self.stats_mngr.try_adding_entries(self.log_entries,
  File "log-parser/stats_mngr.py", line 1139, in try_adding_entries
    self.parse_next_db_stats_entry_lines(
  File "log-parser/stats_mngr.py", line 1059, in parse_next_db_stats_entry_lines
    self.block_cache_stats_mngr.add_lines(time, cf_name,
  File "log-parser/stats_mngr.py", line 866, in add_lines
    self.parse_cf_entry_stats_line(time, cache_id, db_stats_lines[2])
  File "log-parser/stats_mngr.py", line 915, in parse_cf_entry_stats_line
    roles, roles_stats = BlockCacheStatsMngr.parse_entry_stats_line(
  File "log-parser/stats_mngr.py", line 939, in parse_entry_stats_line
    assert False, str(ParsingAssertion(
AssertionError: Error Parsing block cache stats line. roles:['DataBlock', 'FilterBlock'], roles_stats:['174.46 MB'][File:? (line#:?)]
 DataBlock(174.46 MB) FilterBlock(1

LOG-readrandomwriterandom_70.zip

LOG attached

@udi-speedb
Copy link
Contributor

The CF stats line is only partially displayed (cropped):
Block cache [column_family_name_000007] DataBlock(174.46 MB) FilterBlock(1

@udi-speedb
Copy link
Contributor

@Yuval-Ariel - Please try to re-run using branch 24-assertion-error-block-cache-parsing and update if that helps. Thanks

@Yuval-Ariel
Copy link
Author

yes it parses. main still fails on this so it needs to be merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants