Skip to content

MINOR: Change "no such session ID" log to debug#5316

Merged
ijuma merged 3 commits intoapache:trunkfrom
cmccabe:fetch_session_log
Jul 21, 2018
Merged

MINOR: Change "no such session ID" log to debug#5316
ijuma merged 3 commits intoapache:trunkfrom
cmccabe:fetch_session_log

Conversation

@cmccabe
Copy link
Copy Markdown
Contributor

@cmccabe cmccabe commented Jul 1, 2018

The metric will give us good information about the number of evictions per second, so we don't need the INFO log.

Copy link
Copy Markdown
Member

@ijuma ijuma left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Actually, can we clarify this log message a bit? What is a "error FetchContext"?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

An error fetch context is a type of FetchSessionContext which always sends back an error code.

However, it's probably better just to print out a message about a session error here, since the ErrorFetchContext is an implementation detail.

@cmccabe cmccabe force-pushed the fetch_session_log branch from 01d91e2 to f8a066e Compare July 19, 2018 17:04
Copy link
Copy Markdown
Member

@ijuma ijuma left a comment

Choose a reason for hiding this comment

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

LGTM

@cmccabe
Copy link
Copy Markdown
Contributor Author

cmccabe commented Jul 20, 2018

retest this please

1 similar comment
@ijuma
Copy link
Copy Markdown
Member

ijuma commented Jul 20, 2018

retest this please

@ijuma ijuma force-pushed the fetch_session_log branch from d9b5bce to 7bb42be Compare July 21, 2018 03:49
@ijuma ijuma force-pushed the fetch_session_log branch from 7bb42be to 30d7cc9 Compare July 21, 2018 08:27
@ijuma
Copy link
Copy Markdown
Member

ijuma commented Jul 21, 2018

Merging to trunk and 2.0 after pushing some style fixes.

@ijuma ijuma merged commit b9b70c9 into apache:trunk Jul 21, 2018
ijuma pushed a commit that referenced this pull request Jul 21, 2018
Improve the log messages while at it and fix some code style issues.

Reviewers: Ismael Juma <ismael@juma.me.uk>
@cmccabe cmccabe deleted the fetch_session_log branch May 20, 2019 18:55
@rmatte01
Copy link
Copy Markdown

@cmccabe , We are seeing this following messages (a lot of them).

[kafka-request-handler-3] INFO (Logging.scala:66) - Created a new error FetchContext for session id 1453881506: no such session ID found.

What does this mean? I don't see any other error code from FetchSessionContext as well.

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.

3 participants