Skip to content

chore: update mysql scope to test#2043

Merged
javeme merged 4 commits intoapache:masterfrom
simon824:rmmysql
Dec 5, 2022
Merged

chore: update mysql scope to test#2043
javeme merged 4 commits intoapache:masterfrom
simon824:rmmysql

Conversation

@simon824
Copy link
Copy Markdown
Member

@simon824 simon824 commented Dec 2, 2022

@codecov
Copy link
Copy Markdown

codecov bot commented Dec 2, 2022

Codecov Report

Merging #2043 (12d2564) into master (627a028) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #2043      +/-   ##
============================================
- Coverage     66.38%   66.35%   -0.03%     
+ Complexity      976      677     -299     
============================================
  Files           482      482              
  Lines         41458    41458              
  Branches       5889     5889              
============================================
- Hits          27520    27511       -9     
- Misses        11237    11249      +12     
+ Partials       2701     2698       -3     
Impacted Files Coverage Δ
.../hugegraph/backend/store/rocksdb/RocksDBTable.java 67.11% <0.00%> (-2.02%) ⬇️
...a/org/apache/hugegraph/task/ServerInfoManager.java 73.25% <0.00%> (-1.75%) ⬇️
...a/org/apache/hugegraph/util/collection/IntSet.java 73.72% <0.00%> (-1.28%) ⬇️
...ugegraph/backend/store/raft/StoreStateMachine.java 64.86% <0.00%> (-0.91%) ⬇️
...hugegraph/backend/store/raft/rpc/RaftRequests.java 18.78% <0.00%> (-0.24%) ⬇️
...hugegraph/backend/store/raft/rpc/RpcForwarder.java 69.49% <0.00%> (ø)
...g/apache/hugegraph/backend/store/BackendTable.java 85.11% <0.00%> (+0.59%) ⬆️
...apache/hugegraph/backend/tx/SchemaTransaction.java 90.65% <0.00%> (+1.03%) ⬆️
...n/java/org/apache/hugegraph/schema/IndexLabel.java 77.27% <0.00%> (+1.13%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@javeme
Copy link
Copy Markdown
Contributor

javeme commented Dec 3, 2022

ci error:

Error: -02 09:29:17 [main] [ERROR] o.a.h.StandardHugeGraph - Failed to open schema transaction
org.apache.hugegraph.backend.BackendException: Failed to obtain database info
	at org.apache.hugegraph.backend.store.mysql.MysqlSessions.existsDatabase(MysqlSessions.java:150) ~[hugegraph-mysql-1.0.0.jar:1.0.0]
	at org.apache.hugegraph.backend.store.mysql.MysqlStore.open(MysqlStore.java:122) ~[hugegraph-mysql-1.0.0.jar:1.0.0]
	at org.apache.hugegraph.backend.tx.AbstractTransaction.<init>(AbstractTransaction.java:82) ~[hugegraph-core-1.0.0.jar:1.0.0]
	at org.apache.hugegraph.backend.tx.IndexableTransaction.<init>(IndexableTransaction.java:30) ~[hugegraph-core-1.0.0.jar:1.0.0]
	at org.apache.hugegraph.backend.tx.SchemaTransaction.<init>(SchemaTransaction.java:81) ~[hugegraph-core-1.0.0.jar:1.0.0]
	at org.apache.hugegraph.backend.cache.CachedSchemaTransaction.<init>(CachedSchemaTransaction.java:55) ~[hugegraph-core-1.0.0.jar:1.0.0]
	at org.apache.hugegraph.StandardHugeGraph.openSchemaTransaction(StandardHugeGraph.java:434) ~[hugegraph-core-1.0.0.jar:1.0.0]
	at org.apache.hugegraph.StandardHugeGraph.access$2700(StandardHugeGraph.java:112) ~[hugegraph-core-1.0.0.jar:1.0.0]
	at org.apache.hugegraph.StandardHugeGraph$TinkerPopTransaction.getOrNewTransaction(StandardHugeGraph.java:1435) ~[hugegraph-core-1.0.0.jar:1.0.0]
	at org.apache.hugegraph.StandardHugeGraph$TinkerPopTransaction.doOpen(StandardHugeGraph.java:1344) ~[hugegraph-core-1.0.0.jar:1.0.0]
	at org.apache.tinkerpop.gremlin.structure.util.AbstractTransaction.open(AbstractTransaction.java:95) ~[gremlin-core-3.5.1.jar:3.5.1]
	at org.apache.tinkerpop.gremlin.structure.Transaction$READ_WRITE_BEHAVIOR$1.accept(Transaction.java:213) ~[gremlin-core-3.5.1.jar:3.5.1]
	at org.apache.tinkerpop.gremlin.structure.Transaction$READ_WRITE_BEHAVIOR$1.accept(Transaction.java:210) ~[gremlin-core-3.5.1.jar:3.5.1]
	at org.apache.tinkerpop.gremlin.structure.util.AbstractThreadLocalTransaction.doReadWrite(AbstractThreadLocalTransaction.java:92) ~[gremlin-core-3.5.1.jar:3.5.1]
	at org.apache.tinkerpop.gremlin.structure.util.AbstractTransaction.readWrite(AbstractTransaction.java:136) ~[gremlin-core-3.5.1.jar:3.5.1]
	at org.apache.hugegraph.StandardHugeGraph.systemTransaction(StandardHugeGraph.java:497) ~[hugegraph-core-1.0.0.jar:1.0.0]
	at org.apache.hugegraph.StandardHugeGraph.backendStoreInfo(StandardHugeGraph.java:249) ~[hugegraph-core-1.0.0.jar:1.0.0]
	at org.apache.hugegraph.auth.HugeGraphAuthProxy.backendStoreInfo(HugeGraphAuthProxy.java:633) ~[hugegraph-api-1.0.0.jar:0.69.0.0]
	at org.apache.hugegraph.cmd.InitStore.initGraph(InitStore.java:102) ~[hugegraph-dist-1.0.0.jar:1.0.0]
	at org.apache.hugegraph.cmd.InitStore.main(InitStore.java:83) ~[hugegraph-dist-1.0.0.jar:1.0.0]
Caused by: org.apache.hugegraph.backend.BackendException: Invalid driver class 'com.mysql.jdbc.Driver'
	at org.apache.hugegraph.backend.store.mysql.MysqlSessions.connect(MysqlSessions.java:288) ~[hugegraph-mysql-1.0.0.jar:1.0.0]
	at org.apache.hugegraph.backend.store.mysql.MysqlSessions.openWithoutDB(MysqlSessions.java:194) ~[hugegraph-mysql-1.0.0.jar:1.0.0]
	at org.apache.hugegraph.backend.store.mysql.MysqlSessions.existsDatabase(MysqlSessions.java:141) ~[hugegraph-mysql-1.0.0.jar:1.0.0]
	... 19 more

Copy link
Copy Markdown
Member

@imbajin imbajin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it stable? (the mysql version & the download way/URI)

@simon824
Copy link
Copy Markdown
Member Author

simon824 commented Dec 5, 2022

is it stable?

@imbajin you mean mysql hugegraph-ci ?

@javeme javeme merged commit 510b12e into apache:master Dec 5, 2022
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.

[Apache] check for license conflicts

3 participants