Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Apache RocketMQ
Rocketmq
提交
3e9799ba
R
Rocketmq
项目概览
Apache RocketMQ
/
Rocketmq
上一次同步 大约 3 年
通知
267
Star
16139
Fork
68
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
Rocketmq
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
3e9799ba
编写于
11月 27, 2018
作者:
D
dongeforever
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Use io.openmessaging instead
上级
f2bcae00
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
18 addition
and
18 deletion
+18
-18
broker/src/main/java/org/apache/rocketmq/broker/dleger/DLegerRoleChangeHandler.java
...pache/rocketmq/broker/dleger/DLegerRoleChangeHandler.java
+4
-4
store/pom.xml
store/pom.xml
+2
-2
store/src/main/java/org/apache/rocketmq/store/dleger/DLegerCommitLog.java
...ava/org/apache/rocketmq/store/dleger/DLegerCommitLog.java
+10
-10
store/src/main/java/org/apache/rocketmq/store/dleger/DLegerSelectMappedBufferResult.java
...rocketmq/store/dleger/DLegerSelectMappedBufferResult.java
+1
-1
store/src/test/java/org/apache/rocketmq/store/dleger/DLegerCommitlogTest.java
...org/apache/rocketmq/store/dleger/DLegerCommitlogTest.java
+1
-1
未找到文件。
broker/src/main/java/org/apache/rocketmq/broker/dleger/DLegerRoleChangeHandler.java
浏览文件 @
3e9799ba
...
@@ -21,10 +21,10 @@ import java.util.concurrent.Executors;
...
@@ -21,10 +21,10 @@ import java.util.concurrent.Executors;
import
org.apache.rocketmq.broker.BrokerController
;
import
org.apache.rocketmq.broker.BrokerController
;
import
org.apache.rocketmq.common.ThreadFactoryImpl
;
import
org.apache.rocketmq.common.ThreadFactoryImpl
;
import
org.apache.rocketmq.common.constant.LoggerName
;
import
org.apache.rocketmq.common.constant.LoggerName
;
import
org.apache.rocketmq
.dleger.DLegerLeaderElector
;
import
io.openmessaging.storage
.dleger.DLegerLeaderElector
;
import
org.apache.rocketmq
.dleger.DLegerServer
;
import
io.openmessaging.storage
.dleger.DLegerServer
;
import
org.apache.rocketmq
.dleger.MemberState
;
import
io.openmessaging.storage
.dleger.MemberState
;
import
org.apache.rocketmq
.dleger.utils.UtilAll
;
import
io.openmessaging.storage
.dleger.utils.UtilAll
;
import
org.apache.rocketmq.logging.InternalLogger
;
import
org.apache.rocketmq.logging.InternalLogger
;
import
org.apache.rocketmq.logging.InternalLoggerFactory
;
import
org.apache.rocketmq.logging.InternalLoggerFactory
;
import
org.apache.rocketmq.store.DefaultMessageStore
;
import
org.apache.rocketmq.store.DefaultMessageStore
;
...
...
store/pom.xml
浏览文件 @
3e9799ba
...
@@ -29,8 +29,8 @@
...
@@ -29,8 +29,8 @@
<dependencies>
<dependencies>
<dependency>
<dependency>
<groupId>
org.apache.rocketmq
</groupId>
<groupId>
io.openmessaging.storage
</groupId>
<artifactId>
rocketmq-
dleger
</artifactId>
<artifactId>
dleger
</artifactId>
<version>
0.1-SNAPSHOT
</version>
<version>
0.1-SNAPSHOT
</version>
<exclusions>
<exclusions>
<exclusion>
<exclusion>
...
...
store/src/main/java/org/apache/rocketmq/store/dleger/DLegerCommitLog.java
浏览文件 @
3e9799ba
...
@@ -16,6 +16,16 @@
...
@@ -16,6 +16,16 @@
*/
*/
package
org.apache.rocketmq.store.dleger
;
package
org.apache.rocketmq.store.dleger
;
import
io.openmessaging.storage.dleger.DLegerConfig
;
import
io.openmessaging.storage.dleger.DLegerServer
;
import
io.openmessaging.storage.dleger.entry.DLegerEntry
;
import
io.openmessaging.storage.dleger.protocol.AppendEntryRequest
;
import
io.openmessaging.storage.dleger.protocol.AppendEntryResponse
;
import
io.openmessaging.storage.dleger.protocol.DLegerResponseCode
;
import
io.openmessaging.storage.dleger.store.file.DLegerMmapFileStore
;
import
io.openmessaging.storage.dleger.store.file.MmapFile
;
import
io.openmessaging.storage.dleger.store.file.MmapFileList
;
import
io.openmessaging.storage.dleger.store.file.SelectMmapBufferResult
;
import
java.nio.ByteBuffer
;
import
java.nio.ByteBuffer
;
import
java.util.HashMap
;
import
java.util.HashMap
;
import
java.util.concurrent.CompletableFuture
;
import
java.util.concurrent.CompletableFuture
;
...
@@ -27,16 +37,6 @@ import org.apache.rocketmq.common.message.MessageDecoder;
...
@@ -27,16 +37,6 @@ import org.apache.rocketmq.common.message.MessageDecoder;
import
org.apache.rocketmq.common.message.MessageExt
;
import
org.apache.rocketmq.common.message.MessageExt
;
import
org.apache.rocketmq.common.message.MessageExtBatch
;
import
org.apache.rocketmq.common.message.MessageExtBatch
;
import
org.apache.rocketmq.common.sysflag.MessageSysFlag
;
import
org.apache.rocketmq.common.sysflag.MessageSysFlag
;
import
org.apache.rocketmq.dleger.DLegerConfig
;
import
org.apache.rocketmq.dleger.DLegerServer
;
import
org.apache.rocketmq.dleger.entry.DLegerEntry
;
import
org.apache.rocketmq.dleger.protocol.AppendEntryRequest
;
import
org.apache.rocketmq.dleger.protocol.AppendEntryResponse
;
import
org.apache.rocketmq.dleger.protocol.DLegerResponseCode
;
import
org.apache.rocketmq.dleger.store.file.DLegerMmapFileStore
;
import
org.apache.rocketmq.dleger.store.file.MmapFile
;
import
org.apache.rocketmq.dleger.store.file.MmapFileList
;
import
org.apache.rocketmq.dleger.store.file.SelectMmapBufferResult
;
import
org.apache.rocketmq.store.AppendMessageResult
;
import
org.apache.rocketmq.store.AppendMessageResult
;
import
org.apache.rocketmq.store.AppendMessageStatus
;
import
org.apache.rocketmq.store.AppendMessageStatus
;
import
org.apache.rocketmq.store.CommitLog
;
import
org.apache.rocketmq.store.CommitLog
;
...
...
store/src/main/java/org/apache/rocketmq/store/dleger/DLegerSelectMappedBufferResult.java
浏览文件 @
3e9799ba
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
package
org.apache.rocketmq.store.dleger
;
package
org.apache.rocketmq.store.dleger
;
import
org.apache.rocketmq
.dleger.store.file.SelectMmapBufferResult
;
import
io.openmessaging.storage
.dleger.store.file.SelectMmapBufferResult
;
import
org.apache.rocketmq.store.SelectMappedBufferResult
;
import
org.apache.rocketmq.store.SelectMappedBufferResult
;
public
class
DLegerSelectMappedBufferResult
extends
SelectMappedBufferResult
{
public
class
DLegerSelectMappedBufferResult
extends
SelectMappedBufferResult
{
...
...
store/src/test/java/org/apache/rocketmq/store/dleger/DLegerCommitlogTest.java
浏览文件 @
3e9799ba
...
@@ -8,7 +8,7 @@ import java.util.UUID;
...
@@ -8,7 +8,7 @@ import java.util.UUID;
import
org.apache.rocketmq.common.BrokerConfig
;
import
org.apache.rocketmq.common.BrokerConfig
;
import
org.apache.rocketmq.common.message.MessageDecoder
;
import
org.apache.rocketmq.common.message.MessageDecoder
;
import
org.apache.rocketmq.common.message.MessageExt
;
import
org.apache.rocketmq.common.message.MessageExt
;
import
org.apache.rocketmq
.dleger.DLegerServer
;
import
io.openmessaging.storage
.dleger.DLegerServer
;
import
org.apache.rocketmq.store.DefaultMessageStore
;
import
org.apache.rocketmq.store.DefaultMessageStore
;
import
org.apache.rocketmq.store.GetMessageResult
;
import
org.apache.rocketmq.store.GetMessageResult
;
import
org.apache.rocketmq.store.GetMessageStatus
;
import
org.apache.rocketmq.store.GetMessageStatus
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录