-
Notifications
You must be signed in to change notification settings - Fork 525
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
Adapt jraft 1.3.5 #1313
Adapt jraft 1.3.5 #1313
Conversation
NOTE: In fact, it still cann't fully adapt to the community version of jraft, because it's different from the rocksdb version that hugegraph relies on Change-Id: I83079e799df4d332e968694c7aea0ff11bbcdb81
Codecov Report
@@ Coverage Diff @@
## master #1313 +/- ##
============================================
+ Coverage 61.67% 62.33% +0.66%
- Complexity 5752 5772 +20
============================================
Files 377 377
Lines 31501 31504 +3
Branches 4413 4412 -1
============================================
+ Hits 19428 19638 +210
+ Misses 10088 9873 -215
- Partials 1985 1993 +8
Continue to review full report at Codecov.
|
@@ -683,11 +684,17 @@ public synchronized void destroy() { | |||
private WriteOptions writeOptions; | |||
|
|||
public StdSession(HugeConfig conf) { | |||
boolean bulkload = conf.get(RocksDBOptions.BULKLOAD_MODE); | |||
boolean raftMode = conf.get(CoreOptions.RAFT_MODE); |
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.
split into separate commit
Change-Id: I8878b88acb02369dcb8cc2f57871f88d98bc3203
3203540
to
c17c104
Compare
@@ -65,6 +65,7 @@ | |||
import com.baidu.hugegraph.backend.store.BackendEntry.BackendColumn; | |||
import com.baidu.hugegraph.backend.store.BackendEntry.BackendColumnIterator; | |||
import com.baidu.hugegraph.backend.store.BackendEntryIterator; | |||
import com.baidu.hugegraph.config.CoreOptions; |
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.
remove it
Change-Id: Id459b0087025d75a13a84791b158d1d093fc3f7b
NOTE: In fact, it still cann't fully adapt to the community version of jraft,
because it's different from the rocksdb version that hugegraph relies on
Change-Id: I83079e799df4d332e968694c7aea0ff11bbcdb81