Skip to content

lib/logstorage: fix typos in error messages and comments#1468

Open
immanuwell wants to merge 1 commit into
VictoriaMetrics:masterfrom
immanuwell:fix/typos-in-logstorage
Open

lib/logstorage: fix typos in error messages and comments#1468
immanuwell wants to merge 1 commit into
VictoriaMetrics:masterfrom
immanuwell:fix/typos-in-logstorage

Conversation

@immanuwell
Copy link
Copy Markdown

Small typo fixes in 4 files:

  • block.go: panic message says BUG: too valuesSize - missing word "big" (the panic 18 lines below for bloomFilterSize says it correctly: BUG: too big bloomFilterSize)
  • filter_string_range.go: comment says matches tie given string range (tie -> the)
  • running_stats_last.go: error returned to user says unexpeccted (doubled c)
  • parser_test.go: same unexpeccted in test failure message

How to trigger the running_stats_last.go one: pass wrong number of args to last() in a running stats query, e.g. | running_stats last(a, b) - you get the misspelled error back.

The block.go panic only fires when a values block exceeds maxValuesBlockSize, which is a hard internal limit - so it's not user-triggerable in normal ops, but the message is still wrong when it does fire.

Signed-off-by: Immanuel Tikhonov <pchpr.00@list.ru>
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 4 files

Re-trigger cubic

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

Successfully merging this pull request may close these issues.

1 participant