Skip to content

Conversation

@fujian-zfj
Copy link
Contributor

There are several typos in the code.
Like TIMER_WHELL_TTL_DAY in class TimerMessageStore.

@fujian-zfj fujian-zfj changed the title word spell check [ISSUE #4810]word spell check Aug 11, 2022
// The total days in the timer wheel when precision is 1000ms.
// If the broker shutdown last more than the configured days, will cause message loss
public static final int TIMER_WHELL_TTL_DAY = 7;
public static final int TIMER_WHEEL_TTL_DAY = 7;
Copy link
Contributor

Choose a reason for hiding this comment

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

To be precise, Rename it to "Timing Wheels". See http://www.cs.columbia.edu/~nahum/w6998/papers/sosp87-timing-wheels.pdf

this.precisionMs = storeConfig.getTimerPrecisionMs();
// TimerWheel contains the fixed number of slots regardless of precision.
this.slotsTotal = TIMER_WHELL_TTL_DAY * DAY_SECS;
this.slotsTotal = TIMER_WHEEL_TTL_DAY * DAY_SECS;
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 49.269% when pulling f41978f on fujian-zfj:typos-fix into 06ca14a on apache:develop.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 49.269% when pulling f41978f on fujian-zfj:typos-fix into 06ca14a on apache:develop.

@RongtongJin RongtongJin changed the title [ISSUE #4810]word spell check [ISSUE #4810] Correction of spelling mistakes in TimerMessageStore Aug 11, 2022
@RongtongJin RongtongJin merged commit 9cc06bc into apache:develop Aug 11, 2022
@lizhanhui
Copy link
Contributor

@RongtongJin DO NOT MERGE the pull request till all issues are resolved.

@duhenglucky duhenglucky added this to the 5.0.0 milestone Aug 11, 2022
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.

5 participants