Conversation
Codecov Report
@@ Coverage Diff @@
## master #1721 +/- ##
============================================
+ Coverage 66.55% 70.83% +4.27%
+ Complexity 7085 970 -6115
============================================
Files 423 443 +20
Lines 35598 37664 +2066
Branches 4959 5358 +399
============================================
+ Hits 23692 26679 +2987
+ Misses 9505 8297 -1208
- Partials 2401 2688 +287
Continue to review full report at Codecov.
|
6e2c2b5 to
de7aebb
Compare
Contributor
Author
|
Operations on followers may lead to inconsistent data status? error when truncate 2022-01-04 17:49:15 [store-backend-executor33] [ERROR] c.b.h.b.s.r.StoreStateMachine - Failed to execute backend command: SNAPSHOT
java.lang.IllegalStateException: Can't apply command for all store at one time
at com.google.common.base.Preconditions.checkState(Preconditions.java:531) ~[guava-25.1-jre.jar:?]
at com.baidu.hugegraph.util.E.checkState(E.java:68) ~[hugegraph-common-2.0.1.jar:2.0.1.0]
at com.baidu.hugegraph.backend.store.raft.StoreStateMachine.applyCommand(StoreStateMachine.java:166) ~[hugegraph-core-0.12.0.jar:0.12.0.0]
at com.baidu.hugegraph.backend.store.raft.StoreStateMachine.lambda$onApply$1(StoreStateMachine.java:136) ~[hugegraph-core-0.12.0.jar:0.12.0.0]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_111]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_111]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[?:1.8.0_111]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[?:1.8.0_111]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111] |
Change-Id: I016d3fcc4ab50614afdf452e7c9691ee3cc3c70b
Change-Id: I44e0e3c3cb44b806bd87b2216a339673f26d3166
Change-Id: I319928fc5f26838f7ade8f21a57f955eeca7a6d6
Change-Id: Ib2a87081f7411d4ebfaaef2f8fff0140bb4d3dc0
Change-Id: I65fbed8e18d9b04393aa26f5008397cc9b9fc065
Change-Id: I95913fb9c4a2384492bd8a81c1d94e905dd344e6
Change-Id: I0e9628c26566d019edecc22c8114a0cc9bdeee5b
Contributor
Author
|
raft test error: Error: Tests run: 52, Failures: 3, Errors: 32, Skipped: 0, Time elapsed: 84.22 s <<< FAILURE! - in com.baidu.hugegraph.api.ApiTestSuite
Error: testAppend(com.baidu.hugegraph.api.IndexLabelApiTest) Time elapsed: 0.137 s <<< FAILURE!
java.lang.AssertionError: Response with status 400 and content {"exception":"class com.baidu.hugegraph.exception.ExistedException","message":"The index label 'personByAge' has existed","cause":""} expected:<202> but was:<400>
at com.baidu.hugegraph.api.IndexLabelApiTest.testAppend(IndexLabelApiTest.java:66)
Error: testAppend(com.baidu.hugegraph.api.IndexLabelApiTest) Time elapsed: 0.138 s <<< ERROR!
com.baidu.hugegraph.HugeException: Failed to list indexlabels
Error: testCreate(com.baidu.hugegraph.api.IndexLabelApiTest) Time elapsed: 0.034 s <<< FAILURE!
java.lang.AssertionError: Response with status 400 and content {"exception":"class com.baidu.hugegraph.exception.ExistedException","message":"The index label 'personByAge' has existed","cause":""} expected:<202> but was:<400>
at com.baidu.hugegraph.api.IndexLabelApiTest.testCreate(IndexLabelApiTest.java:52)
Error: testCreate(com.baidu.hugegraph.api.IndexLabelApiTest) Time elapsed: 0.034 s <<< ERROR!
com.baidu.hugegraph.HugeException: Failed to list indexlabelsError: Tests run: 49, Failures: 0, Errors: 29, Skipped: 0, Time elapsed: 119.686 s <<< FAILURE! - in com.baidu.hugegraph.api.ApiTestSuite
Error: com.baidu.hugegraph.api.SchemaApiTest Time elapsed: 9.08 s <<< ERROR!
com.baidu.hugegraph.HugeException: Failed to list indexlabels
Error: com.baidu.hugegraph.api.VertexApiTest Time elapsed: 9.124 s <<< ERROR!
com.baidu.hugegraph.HugeException: Failed to list indexlabels
Error: com.baidu.hugegraph.api.EdgeApiTest Time elapsed: 9.169 s <<< ERROR!
com.baidu.hugegraph.HugeException: Failed to list indexlabels
Error: com.baidu.hugegraph.api.TaskApiTest Time elapsed: 9.214 s <<< ERROR!
com.baidu.hugegraph.HugeException: Failed to list indexlabels |
Change-Id: Ibcdef0f33c9c1127908cc9bfdba5f4fd7f1e309a
Change-Id: Iecce2bd9482a136b85cdca9f01615a701fcf1af9
This reverts commit c5fb178.
Change-Id: I8b9cfd1d10c350273dbde9416f3c3439620e44c3
Change-Id: Ie314bbb51091f6cb8191d06d356397ae56bde885
Change-Id: I3e6ca5f24e38eeb9c8b318e996a0697de30b3a1c
Contributor
Author
|
how to upload multiple report files to codecov: |
Change-Id: I43421d7d5a2285d81968bbdd258364d9018c7b21
Linary
approved these changes
Jan 12, 2022
imbajin
reviewed
Jan 12, 2022
Comment on lines
+90
to
+91
| + "\"gremlin\":\"hugegraph.backendStoreFeatures()" | ||
| + " .supportsSharedStorage();\"," |
Member
There was a problem hiding this comment.
consider keep them in one line maybe (same as older like line 70, friendly to read)
Comment on lines
+105
to
+107
| + " if (!hugegraph.backendStoreFeatures()" | ||
| + " .supportsSharedStorage())" | ||
| + " return;" |
| body = "{" | ||
| + "\"gremlin\":\"hugegraph.serverStarted(" | ||
| + "IdGenerator.of('server1'), NodeRole.MASTER)\"," | ||
| + " IdGenerator.of('server1'), NodeRole.MASTER)\"," |
imbajin
approved these changes
Jan 12, 2022
javeme
added a commit
that referenced
this pull request
Jan 12, 2022
* improve raft moddule * add raft-server test * set safe_read=true and use_snapshot=false * fix leader not wait for apply-task * add auth support to raft-tools.sh * don't clear non-shared-storage backend * set task timer interval from 3s to 1s * improve CachedSchemaTransaction * improve update schema status * remove truncate from project test * fix codecov: api test report not been uploaded * improve task cancel() test with cancelled status Change-Id: I016d3fcc4ab50614afdf452e7c9691ee3cc3c70b
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
implement #1384