-
Notifications
You must be signed in to change notification settings - Fork 303
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
Fix comment conversion in actor-cache.h. #1183
Conversation
Perhaps we should go further here, as we are updating it, because I did not find which PITR API the original comment was referring to, but that's my bad. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with @ohodson's suggestions
I don't agree with the suggestions: It makes it harder for a human to read the header, adding noise. The benefit for Being able to group declarations and comment on them as one is important to allow humans to quickly understand what they are looking at, without having to read each comment individually. |
I'm not going to block on it. I prefer the suggestions but it's not worth blocking on so I'm good with this landing either way. |
Okay here if you reject the comments. The methods above this little block in actor-cache.h have helpful comments (much more so than my suggestions), and so do the comments in |
I'm sure the comments could always be better but my intent with this PR was just to fix a regression in the comment understandability that was introduced when the comment style was changed. This bring the comment back to representing exactly the same information as it did before (except with the above-declaration style rather than below-declaration). |
This set of three methods had been grouped together, with a single comment under them applying to all three. d3f25fc broke apart the group and placed the comment so it appears to apply only to the third method.
I'm not sure if there may have been more instances like this around the codebase. I just happened to see this.