Add compact api for rocksdb/cassandra/hbase backend (#1378)
authorJermy Li <lizhangmei@baidu.com>
Fri, 11 Jun 2021 07:57:20 +0000 (15:57 +0800)
committerGitHub <noreply@github.com>
Fri, 11 Jun 2021 07:57:20 +0000 (15:57 +0800)
commitbc9a5a85a42071e33ec8ac077e9d5a256ced495e
tree28de9cac5d7f608c3de5221a63dcbb5e4afd3faf
parent9f62e6fc4e705d87585943e205bec8e5e4935c65
Add compact api for rocksdb/cassandra/hbase backend  (#1378)

* add compact api for rocksdb/cassandra/hbase backend
* increase and standardize some metrics
* increase metrics for cassandra/hbase and unify display format
* fix codecov missing some files coverage by jacococli
* add ScyllaDBMetrics
* make cassandra compact in the scope of keyspace

Change-Id: I26660b28b64089f3b636020e721659db3466267b
31 files changed:
hugegraph-api/pom.xml
hugegraph-api/src/main/java/com/baidu/hugegraph/api/profile/GraphsAPI.java
hugegraph-api/src/main/java/com/baidu/hugegraph/metrics/MetricsModule.java
hugegraph-api/src/main/java/com/baidu/hugegraph/version/ApiVersion.java
hugegraph-cassandra/src/main/java/com/baidu/hugegraph/backend/store/cassandra/CassandraMetrics.java
hugegraph-cassandra/src/main/java/com/baidu/hugegraph/backend/store/cassandra/CassandraSessionPool.java
hugegraph-cassandra/src/main/java/com/baidu/hugegraph/backend/store/cassandra/CassandraStore.java
hugegraph-core/pom.xml
hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/BackendMetrics.java
hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/memory/InMemoryDBStore.java
hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/memory/InMemoryMetrics.java
hugegraph-dist/src/assembly/travis/build-report.sh
hugegraph-example/src/main/java/com/baidu/hugegraph/example/ExampleUtil.java
hugegraph-hbase/src/main/java/com/baidu/hugegraph/backend/store/hbase/HbaseMetrics.java
hugegraph-hbase/src/main/java/com/baidu/hugegraph/backend/store/hbase/HbaseSessions.java
hugegraph-hbase/src/main/java/com/baidu/hugegraph/backend/store/hbase/HbaseStore.java
hugegraph-mysql/src/main/java/com/baidu/hugegraph/backend/store/mysql/MysqlMetrics.java
hugegraph-mysql/src/main/java/com/baidu/hugegraph/backend/store/mysql/MysqlStore.java
hugegraph-rocksdb/src/main/java/com/baidu/hugegraph/backend/store/rocksdb/RocksDBIngester.java
hugegraph-rocksdb/src/main/java/com/baidu/hugegraph/backend/store/rocksdb/RocksDBMetrics.java
hugegraph-rocksdb/src/main/java/com/baidu/hugegraph/backend/store/rocksdb/RocksDBSessions.java
hugegraph-rocksdb/src/main/java/com/baidu/hugegraph/backend/store/rocksdb/RocksDBStdSessions.java
hugegraph-rocksdb/src/main/java/com/baidu/hugegraph/backend/store/rocksdb/RocksDBStore.java
hugegraph-rocksdb/src/main/java/com/baidu/hugegraph/backend/store/rocksdbsst/RocksDBSstSessions.java
hugegraph-scylladb/src/main/java/com/baidu/hugegraph/backend/store/scylladb/ScyllaDBMetrics.java [new file with mode: 0644]
hugegraph-scylladb/src/main/java/com/baidu/hugegraph/backend/store/scylladb/ScyllaDBStoreProvider.java
hugegraph-test/src/main/java/com/baidu/hugegraph/api/MetricsApiTest.java
hugegraph-test/src/main/java/com/baidu/hugegraph/unit/UnitTestSuite.java
hugegraph-test/src/main/java/com/baidu/hugegraph/unit/rocksdb/BaseRocksDBUnitTest.java
hugegraph-test/src/main/java/com/baidu/hugegraph/unit/rocksdb/RocksDBSessionTest.java [new file with mode: 0644]
hugegraph-test/src/main/java/com/baidu/hugegraph/unit/rocksdb/RocksDBSessionsTest.java