Skip to content

Adapt jraft 1.3.5#1313

Merged
Linary merged 3 commits intomasterfrom
adapt-jraft-1.3.5
Dec 30, 2020
Merged

Adapt jraft 1.3.5#1313
Linary merged 3 commits intomasterfrom
adapt-jraft-1.3.5

Conversation

@Linary
Copy link
Copy Markdown
Contributor

@Linary Linary commented Dec 25, 2020

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

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
Copy link
Copy Markdown

codecov bot commented Dec 25, 2020

Codecov Report

Merging #1313 (c17c104) into master (f6c9850) will increase coverage by 0.66%.
The diff coverage is 0.00%.

Impacted file tree graph

@@             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     
Impacted Files Coverage Δ Complexity Δ
...ugegraph/backend/store/raft/RaftSharedContext.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...raph/backend/store/rocksdb/RocksDBStdSessions.java 63.44% <ø> (ø) 33.00 <0.00> (ø)
.../baidu/hugegraph/backend/query/ConditionQuery.java 86.40% <0.00%> (+0.40%) 106.00% <0.00%> (+1.00%)
.../backend/store/cassandra/CassandraSessionPool.java 57.14% <0.00%> (+1.02%) 11.00% <0.00%> (ø%)
...om/baidu/hugegraph/backend/store/BackendTable.java 73.33% <0.00%> (+48.50%) 11.00% <0.00%> (ø%)
...h/backend/store/scylladb/ScyllaDBTablesWithMV.java 96.03% <0.00%> (+96.03%) 10.00% <0.00%> (+10.00%)
...graph/backend/store/scylladb/ScyllaDBFeatures.java 100.00% <0.00%> (+100.00%) 3.00% <0.00%> (+3.00%)
.../backend/store/scylladb/ScyllaDBStoreProvider.java 100.00% <0.00%> (+100.00%) 7.00% <0.00%> (+7.00%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f6c9850...397ddbc. Read the comment docs.


public StdSession(HugeConfig conf) {
boolean bulkload = conf.get(RocksDBOptions.BULKLOAD_MODE);
boolean raftMode = conf.get(CoreOptions.RAFT_MODE);
Copy link
Copy Markdown
Contributor

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
@Linary Linary changed the title Adapt jraft 1.3.5 and disable wal for raft mode Adapt jraft 1.3.5 Dec 28, 2020
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;
Copy link
Copy Markdown
Contributor

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
@Linary Linary merged commit 89689d1 into master Dec 30, 2020
@Linary Linary deleted the adapt-jraft-1.3.5 branch December 30, 2020 06:45
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.

2 participants