[jira] [Commented] (ROCKETMQ-239) Query message by time and get queue offset by time return is always less than want.

2017-09-24 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ROCKETMQ-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16178501#comment-16178501
 ] 

ASF GitHub Bot commented on ROCKETMQ-239:
-

Github user dongeforever commented on a diff in the pull request:

https://github.com/apache/incubator-rocketmq/pull/129#discussion_r140684767
  
--- Diff: store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java 
---
@@ -151,7 +151,7 @@ public void recover() {
 }
 }
 
-public long getOffsetInQueueByTime(final long timestamp) {
+public long getOffsetInQueueByTime(final long timestamp, boolean 
isGetTimeLast) {
 MappedFile mappedFile = 
this.mappedFileQueue.getMappedFileByTime(timestamp);
--- End diff --

It is not reliable to get mapped file by modification time, as if the 
dispatch service fall behind too much, it may get the wrong mapped file.
How about checking each file's first message and last message it pointed to?
This may cause performance loss, but it is acceptable, for such api is used 
only for some specific diagnoses. It is rarely used, but when using it, it'd 
better to return the exactly correct result. 


> Query message by time and get queue offset by time return is always less than 
> want. 
> 
>
> Key: ROCKETMQ-239
> URL: https://issues.apache.org/jira/browse/ROCKETMQ-239
> Project: Apache RocketMQ
>  Issue Type: Bug
>  Components: rocketmq-store
>Affects Versions: 4.1.0-incubating
>Reporter: lindzh
>Assignee: yukon
> Fix For: 4.2.0-incubating
>
>
> When using queryMessageByTime or searchOffsetByTime or resetOffsetByTime , 
> DefaultMessageStore return offset is not so accurate as we want.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (ROCKETMQ-239) Query message by time and get queue offset by time return is always less than want.

2017-08-13 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ROCKETMQ-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16125159#comment-16125159
 ] 

ASF GitHub Bot commented on ROCKETMQ-239:
-

Github user coveralls commented on the issue:

https://github.com/apache/incubator-rocketmq/pull/129
  

[![Coverage 
Status](https://coveralls.io/builds/12817918/badge)](https://coveralls.io/builds/12817918)

Coverage increased (+0.6%) to 39.637% when pulling 
**e3988d3fa66a76ec228f2c00682d6bc0797ced5e on 
lindzh:fix_query_message_by_time** into 
**332df78e2bb6caadfc6f471445ebb1f9d224 on apache:develop**.



> Query message by time and get queue offset by time return is always less than 
> want. 
> 
>
> Key: ROCKETMQ-239
> URL: https://issues.apache.org/jira/browse/ROCKETMQ-239
> Project: Apache RocketMQ
>  Issue Type: Bug
>  Components: rocketmq-store
>Affects Versions: 4.1.0-incubating
>Reporter: lindzh
>Assignee: yukon
> Fix For: 4.2.0-incubating
>
>
> When using queryMessageByTime or searchOffsetByTime or resetOffsetByTime , 
> DefaultMessageStore return offset is not so accurate as we want.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (ROCKETMQ-239) Query message by time and get queue offset by time return is always less than want.

2017-08-13 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ROCKETMQ-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16125160#comment-16125160
 ] 

ASF GitHub Bot commented on ROCKETMQ-239:
-

Github user coveralls commented on the issue:

https://github.com/apache/incubator-rocketmq/pull/129
  

[![Coverage 
Status](https://coveralls.io/builds/12817918/badge)](https://coveralls.io/builds/12817918)

Coverage increased (+0.6%) to 39.637% when pulling 
**e3988d3fa66a76ec228f2c00682d6bc0797ced5e on 
lindzh:fix_query_message_by_time** into 
**332df78e2bb6caadfc6f471445ebb1f9d224 on apache:develop**.



> Query message by time and get queue offset by time return is always less than 
> want. 
> 
>
> Key: ROCKETMQ-239
> URL: https://issues.apache.org/jira/browse/ROCKETMQ-239
> Project: Apache RocketMQ
>  Issue Type: Bug
>  Components: rocketmq-store
>Affects Versions: 4.1.0-incubating
>Reporter: lindzh
>Assignee: yukon
> Fix For: 4.2.0-incubating
>
>
> When using queryMessageByTime or searchOffsetByTime or resetOffsetByTime , 
> DefaultMessageStore return offset is not so accurate as we want.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (ROCKETMQ-239) Query message by time and get queue offset by time return is always less than want.

2017-08-11 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ROCKETMQ-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16123025#comment-16123025
 ] 

ASF GitHub Bot commented on ROCKETMQ-239:
-

Github user coveralls commented on the issue:

https://github.com/apache/incubator-rocketmq/pull/129
  

[![Coverage 
Status](https://coveralls.io/builds/12791570/badge)](https://coveralls.io/builds/12791570)

Coverage increased (+0.6%) to 39.648% when pulling 
**8302bb878afb37c199fbfa6659b2cc7f0168e43a on 
lindzh:fix_query_message_by_time** into 
**aa1c75774eb33fca9a1c3f036249b6c5b86ef0f5 on apache:develop**.



> Query message by time and get queue offset by time return is always less than 
> want. 
> 
>
> Key: ROCKETMQ-239
> URL: https://issues.apache.org/jira/browse/ROCKETMQ-239
> Project: Apache RocketMQ
>  Issue Type: Bug
>  Components: rocketmq-store
>Affects Versions: 4.1.0-incubating
>Reporter: lindzh
>Assignee: yukon
> Fix For: 4.2.0-incubating
>
>
> When using queryMessageByTime or searchOffsetByTime or resetOffsetByTime , 
> DefaultMessageStore return offset is not so accurate as we want.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (ROCKETMQ-239) Query message by time and get queue offset by time return is always less than want.

2017-08-11 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ROCKETMQ-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16123024#comment-16123024
 ] 

ASF GitHub Bot commented on ROCKETMQ-239:
-

Github user coveralls commented on the issue:

https://github.com/apache/incubator-rocketmq/pull/129
  

[![Coverage 
Status](https://coveralls.io/builds/12791570/badge)](https://coveralls.io/builds/12791570)

Coverage increased (+0.6%) to 39.648% when pulling 
**8302bb878afb37c199fbfa6659b2cc7f0168e43a on 
lindzh:fix_query_message_by_time** into 
**aa1c75774eb33fca9a1c3f036249b6c5b86ef0f5 on apache:develop**.



> Query message by time and get queue offset by time return is always less than 
> want. 
> 
>
> Key: ROCKETMQ-239
> URL: https://issues.apache.org/jira/browse/ROCKETMQ-239
> Project: Apache RocketMQ
>  Issue Type: Bug
>  Components: rocketmq-store
>Affects Versions: 4.1.0-incubating
>Reporter: lindzh
>Assignee: yukon
> Fix For: 4.2.0-incubating
>
>
> When using queryMessageByTime or searchOffsetByTime or resetOffsetByTime , 
> DefaultMessageStore return offset is not so accurate as we want.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (ROCKETMQ-239) Query message by time and get queue offset by time return is always less than want.

2017-08-11 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ROCKETMQ-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16122969#comment-16122969
 ] 

ASF GitHub Bot commented on ROCKETMQ-239:
-

Github user coveralls commented on the issue:

https://github.com/apache/incubator-rocketmq/pull/129
  

[![Coverage 
Status](https://coveralls.io/builds/12791061/badge)](https://coveralls.io/builds/12791061)

Coverage increased (+0.6%) to 39.711% when pulling 
**d1f2b9d6bcd7324774a0cc75ee577a1726ff9505 on 
lindzh:fix_query_message_by_time** into 
**d4149207e27ed3516f1f06407b55986790b806ae on apache:master**.



> Query message by time and get queue offset by time return is always less than 
> want. 
> 
>
> Key: ROCKETMQ-239
> URL: https://issues.apache.org/jira/browse/ROCKETMQ-239
> Project: Apache RocketMQ
>  Issue Type: Bug
>  Components: rocketmq-store
>Affects Versions: 4.1.0-incubating
>Reporter: lindzh
>Assignee: yukon
> Fix For: 4.2.0-incubating
>
>
> When using queryMessageByTime or searchOffsetByTime or resetOffsetByTime , 
> DefaultMessageStore return offset is not so accurate as we want.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (ROCKETMQ-239) Query message by time and get queue offset by time return is always less than want.

2017-08-09 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ROCKETMQ-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16120972#comment-16120972
 ] 

ASF GitHub Bot commented on ROCKETMQ-239:
-

Github user coveralls commented on the issue:

https://github.com/apache/incubator-rocketmq/pull/129
  

[![Coverage 
Status](https://coveralls.io/builds/12771891/badge)](https://coveralls.io/builds/12771891)

Coverage increased (+0.6%) to 39.7% when pulling 
**f2f2fba2432534e0fddc316f078e6f3257668c2c on 
lindzh:fix_query_message_by_time** into 
**d4149207e27ed3516f1f06407b55986790b806ae on apache:master**.



> Query message by time and get queue offset by time return is always less than 
> want. 
> 
>
> Key: ROCKETMQ-239
> URL: https://issues.apache.org/jira/browse/ROCKETMQ-239
> Project: Apache RocketMQ
>  Issue Type: Bug
>  Components: rocketmq-store
>Affects Versions: 4.1.0-incubating
>Reporter: lindzh
>Assignee: yukon
> Fix For: 4.2.0-incubating
>
>
> When using queryMessageByTime or searchOffsetByTime or resetOffsetByTime , 
> DefaultMessageStore return offset is not so accurate as we want.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (ROCKETMQ-239) Query message by time and get queue offset by time return is always less than want.

2017-08-09 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ROCKETMQ-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16120974#comment-16120974
 ] 

ASF GitHub Bot commented on ROCKETMQ-239:
-

Github user coveralls commented on the issue:

https://github.com/apache/incubator-rocketmq/pull/129
  

[![Coverage 
Status](https://coveralls.io/builds/12771891/badge)](https://coveralls.io/builds/12771891)

Coverage increased (+0.6%) to 39.7% when pulling 
**f2f2fba2432534e0fddc316f078e6f3257668c2c on 
lindzh:fix_query_message_by_time** into 
**d4149207e27ed3516f1f06407b55986790b806ae on apache:master**.



> Query message by time and get queue offset by time return is always less than 
> want. 
> 
>
> Key: ROCKETMQ-239
> URL: https://issues.apache.org/jira/browse/ROCKETMQ-239
> Project: Apache RocketMQ
>  Issue Type: Bug
>  Components: rocketmq-store
>Affects Versions: 4.1.0-incubating
>Reporter: lindzh
>Assignee: yukon
> Fix For: 4.2.0-incubating
>
>
> When using queryMessageByTime or searchOffsetByTime or resetOffsetByTime , 
> DefaultMessageStore return offset is not so accurate as we want.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (ROCKETMQ-239) Query message by time and get queue offset by time return is always less than want.

2017-08-09 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ROCKETMQ-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16120973#comment-16120973
 ] 

ASF GitHub Bot commented on ROCKETMQ-239:
-

Github user coveralls commented on the issue:

https://github.com/apache/incubator-rocketmq/pull/129
  

[![Coverage 
Status](https://coveralls.io/builds/12771891/badge)](https://coveralls.io/builds/12771891)

Coverage increased (+0.6%) to 39.7% when pulling 
**f2f2fba2432534e0fddc316f078e6f3257668c2c on 
lindzh:fix_query_message_by_time** into 
**d4149207e27ed3516f1f06407b55986790b806ae on apache:master**.



> Query message by time and get queue offset by time return is always less than 
> want. 
> 
>
> Key: ROCKETMQ-239
> URL: https://issues.apache.org/jira/browse/ROCKETMQ-239
> Project: Apache RocketMQ
>  Issue Type: Bug
>  Components: rocketmq-store
>Affects Versions: 4.1.0-incubating
>Reporter: lindzh
>Assignee: yukon
> Fix For: 4.2.0-incubating
>
>
> When using queryMessageByTime or searchOffsetByTime or resetOffsetByTime , 
> DefaultMessageStore return offset is not so accurate as we want.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (ROCKETMQ-239) Query message by time and get queue offset by time return is always less than want.

2017-08-09 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ROCKETMQ-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16119914#comment-16119914
 ] 

ASF GitHub Bot commented on ROCKETMQ-239:
-

Github user coveralls commented on the issue:

https://github.com/apache/incubator-rocketmq/pull/129
  

[![Coverage 
Status](https://coveralls.io/builds/12760428/badge)](https://coveralls.io/builds/12760428)

Coverage increased (+0.5%) to 39.627% when pulling 
**a8835c401df884ec2a4006331770794db0aee8be on 
lindzh:fix_query_message_by_time** into 
**d4149207e27ed3516f1f06407b55986790b806ae on apache:master**.



> Query message by time and get queue offset by time return is always less than 
> want. 
> 
>
> Key: ROCKETMQ-239
> URL: https://issues.apache.org/jira/browse/ROCKETMQ-239
> Project: Apache RocketMQ
>  Issue Type: Bug
>  Components: rocketmq-store
>Affects Versions: 4.1.0-incubating
>Reporter: lindzh
>Assignee: yukon
> Fix For: 4.2.0-incubating
>
>
> When using queryMessageByTime or searchOffsetByTime or resetOffsetByTime , 
> DefaultMessageStore return offset is not so accurate as we want.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (ROCKETMQ-239) Query message by time and get queue offset by time return is always less than want.

2017-08-09 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ROCKETMQ-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16119915#comment-16119915
 ] 

ASF GitHub Bot commented on ROCKETMQ-239:
-

Github user coveralls commented on the issue:

https://github.com/apache/incubator-rocketmq/pull/129
  

[![Coverage 
Status](https://coveralls.io/builds/12760428/badge)](https://coveralls.io/builds/12760428)

Coverage increased (+0.5%) to 39.627% when pulling 
**a8835c401df884ec2a4006331770794db0aee8be on 
lindzh:fix_query_message_by_time** into 
**d4149207e27ed3516f1f06407b55986790b806ae on apache:master**.



> Query message by time and get queue offset by time return is always less than 
> want. 
> 
>
> Key: ROCKETMQ-239
> URL: https://issues.apache.org/jira/browse/ROCKETMQ-239
> Project: Apache RocketMQ
>  Issue Type: Bug
>  Components: rocketmq-store
>Affects Versions: 4.1.0-incubating
>Reporter: lindzh
>Assignee: yukon
> Fix For: 4.2.0-incubating
>
>
> When using queryMessageByTime or searchOffsetByTime or resetOffsetByTime , 
> DefaultMessageStore return offset is not so accurate as we want.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (ROCKETMQ-239) Query message by time and get queue offset by time return is always less than want.

2017-07-10 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ROCKETMQ-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16081610#comment-16081610
 ] 

ASF GitHub Bot commented on ROCKETMQ-239:
-

Github user coveralls commented on the issue:

https://github.com/apache/incubator-rocketmq/pull/129
  

[![Coverage 
Status](https://coveralls.io/builds/12334616/badge)](https://coveralls.io/builds/12334616)

Coverage increased (+0.4%) to 39.511% when pulling 
**2c24b6777b2f0d0a85e1e8b0b2f64b1c00d184ef on 
lindzh:fix_query_message_by_time** into 
**d4149207e27ed3516f1f06407b55986790b806ae on apache:master**.



> Query message by time and get queue offset by time return is always less than 
> want. 
> 
>
> Key: ROCKETMQ-239
> URL: https://issues.apache.org/jira/browse/ROCKETMQ-239
> Project: Apache RocketMQ
>  Issue Type: Bug
>  Components: rocketmq-store
>Affects Versions: 4.1.0-incubating
>Reporter: lindzh
>Assignee: yukon
> Fix For: 4.2.0-incubating
>
>
> When using queryMessageByTime or searchOffsetByTime or resetOffsetByTime , 
> DefaultMessageStore return offset is not so accurate as we want.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (ROCKETMQ-239) Query message by time and get queue offset by time return is always less than want.

2017-07-10 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ROCKETMQ-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16081608#comment-16081608
 ] 

ASF GitHub Bot commented on ROCKETMQ-239:
-

Github user coveralls commented on the issue:

https://github.com/apache/incubator-rocketmq/pull/129
  

[![Coverage 
Status](https://coveralls.io/builds/12334616/badge)](https://coveralls.io/builds/12334616)

Coverage increased (+0.4%) to 39.511% when pulling 
**2c24b6777b2f0d0a85e1e8b0b2f64b1c00d184ef on 
lindzh:fix_query_message_by_time** into 
**d4149207e27ed3516f1f06407b55986790b806ae on apache:master**.



> Query message by time and get queue offset by time return is always less than 
> want. 
> 
>
> Key: ROCKETMQ-239
> URL: https://issues.apache.org/jira/browse/ROCKETMQ-239
> Project: Apache RocketMQ
>  Issue Type: Bug
>  Components: rocketmq-store
>Affects Versions: 4.1.0-incubating
>Reporter: lindzh
>Assignee: yukon
> Fix For: 4.2.0-incubating
>
>
> When using queryMessageByTime or searchOffsetByTime or resetOffsetByTime , 
> DefaultMessageStore return offset is not so accurate as we want.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (ROCKETMQ-239) Query message by time and get queue offset by time return is always less than want.

2017-07-10 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ROCKETMQ-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16081609#comment-16081609
 ] 

ASF GitHub Bot commented on ROCKETMQ-239:
-

Github user coveralls commented on the issue:

https://github.com/apache/incubator-rocketmq/pull/129
  

[![Coverage 
Status](https://coveralls.io/builds/12334616/badge)](https://coveralls.io/builds/12334616)

Coverage increased (+0.4%) to 39.511% when pulling 
**2c24b6777b2f0d0a85e1e8b0b2f64b1c00d184ef on 
lindzh:fix_query_message_by_time** into 
**d4149207e27ed3516f1f06407b55986790b806ae on apache:master**.



> Query message by time and get queue offset by time return is always less than 
> want. 
> 
>
> Key: ROCKETMQ-239
> URL: https://issues.apache.org/jira/browse/ROCKETMQ-239
> Project: Apache RocketMQ
>  Issue Type: Bug
>  Components: rocketmq-store
>Affects Versions: 4.1.0-incubating
>Reporter: lindzh
>Assignee: yukon
> Fix For: 4.2.0-incubating
>
>
> When using queryMessageByTime or searchOffsetByTime or resetOffsetByTime , 
> DefaultMessageStore return offset is not so accurate as we want.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (ROCKETMQ-239) Query message by time and get queue offset by time return is always less than want.

2017-07-06 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ROCKETMQ-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16076077#comment-16076077
 ] 

ASF GitHub Bot commented on ROCKETMQ-239:
-

Github user coveralls commented on the issue:

https://github.com/apache/incubator-rocketmq/pull/129
  

[![Coverage 
Status](https://coveralls.io/builds/12271475/badge)](https://coveralls.io/builds/12271475)

Coverage increased (+0.3%) to 39.417% when pulling 
**c37adb566f7c0ee9920def4e9cfd02579e6ce4cf on 
lindzh:fix_query_message_by_time** into 
**d4149207e27ed3516f1f06407b55986790b806ae on apache:master**.



> Query message by time and get queue offset by time return is always less than 
> want. 
> 
>
> Key: ROCKETMQ-239
> URL: https://issues.apache.org/jira/browse/ROCKETMQ-239
> Project: Apache RocketMQ
>  Issue Type: Bug
>  Components: rocketmq-store
>Affects Versions: 4.1.0-incubating
>Reporter: lindzh
>Assignee: yukon
> Fix For: 4.2.0-incubating
>
>
> When using queryMessageByTime or searchOffsetByTime or resetOffsetByTime , 
> DefaultMessageStore return offset is not so accurate as we want.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (ROCKETMQ-239) Query message by time and get queue offset by time return is always less than want.

2017-07-06 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ROCKETMQ-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16076078#comment-16076078
 ] 

ASF GitHub Bot commented on ROCKETMQ-239:
-

Github user coveralls commented on the issue:

https://github.com/apache/incubator-rocketmq/pull/129
  

[![Coverage 
Status](https://coveralls.io/builds/12271475/badge)](https://coveralls.io/builds/12271475)

Coverage increased (+0.3%) to 39.417% when pulling 
**c37adb566f7c0ee9920def4e9cfd02579e6ce4cf on 
lindzh:fix_query_message_by_time** into 
**d4149207e27ed3516f1f06407b55986790b806ae on apache:master**.



> Query message by time and get queue offset by time return is always less than 
> want. 
> 
>
> Key: ROCKETMQ-239
> URL: https://issues.apache.org/jira/browse/ROCKETMQ-239
> Project: Apache RocketMQ
>  Issue Type: Bug
>  Components: rocketmq-store
>Affects Versions: 4.1.0-incubating
>Reporter: lindzh
>Assignee: yukon
> Fix For: 4.2.0-incubating
>
>
> When using queryMessageByTime or searchOffsetByTime or resetOffsetByTime , 
> DefaultMessageStore return offset is not so accurate as we want.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (ROCKETMQ-239) Query message by time and get queue offset by time return is always less than want.

2017-07-05 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ROCKETMQ-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16076042#comment-16076042
 ] 

ASF GitHub Bot commented on ROCKETMQ-239:
-

GitHub user lindzh opened a pull request:

https://github.com/apache/incubator-rocketmq/pull/129

[ROCKETMQ-239]fix query message by time and fix get queue offset by time

When using queryMessageByTime or searchOffsetByTime or resetOffsetByTime , 
DefaultMessageStore return offset is not so accurate as we want.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/lindzh/incubator-rocketmq 
fix_query_message_by_time

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-rocketmq/pull/129.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #129


commit c37adb566f7c0ee9920def4e9cfd02579e6ce4cf
Author: lindzh 
Date:   2017-07-06T06:44:22Z

fix query message by time and fix get queue offset by time




> Query message by time and get queue offset by time return is always less than 
> want. 
> 
>
> Key: ROCKETMQ-239
> URL: https://issues.apache.org/jira/browse/ROCKETMQ-239
> Project: Apache RocketMQ
>  Issue Type: Bug
>  Components: rocketmq-store
>Affects Versions: 4.1.0-incubating
>Reporter: lindzh
>Assignee: yukon
> Fix For: 4.2.0-incubating
>
>
> When using queryMessageByTime or searchOffsetByTime or resetOffsetByTime , 
> DefaultMessageStore return offset is not so accurate as we want.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)