[ 
https://issues.apache.org/jira/browse/ROCKETMQ-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

yukon updated ROCKETMQ-71:
--------------------------
    Fix Version/s:     (was: 4.1.0-incubating)

> remove commitlog, messagequeue bug
> ----------------------------------
>
>                 Key: ROCKETMQ-71
>                 URL: https://issues.apache.org/jira/browse/ROCKETMQ-71
>             Project: Apache RocketMQ
>          Issue Type: Bug
>            Reporter: liyinsheng
>            Assignee: vongosling
>
> there is the following code in DefaultMessageStore.java 
> this.scheduledExecutorService.scheduleAtFixedRate(new Runnable() {
> @Override
> public void run() {
> DefaultMessageStore.this.cleanFilesPeriodically();
> }
> }, 1000 * 60, this.messageStoreConfig.getCleanResourceInterval(), 
> TimeUnit.MILLISECONDS);
> scheduleAtFixedRate function should change to scheduleAtFixedRate because 
> executions will commence after {@code initialDelay} then {@code 
> initialDelay+period}, then {@code initialDelay + 2 * period}, and so on,that 
> means executions delay time should more and more longer



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to