Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenliang123 committed Dec 24, 2024
1 parent da93a04 commit 9e56392
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 38 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/vdb-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,24 @@ jobs:
- name: Expose Service Ports
run: sh .github/workflows/expose_service_ports.sh

- name: Set up Vector Stores (TiDB)
- name: Set up Vector Stores (Weaviate, Qdrant, PGVector, Milvus, PgVecto-RS, Chroma, MyScale, ElasticSearch, Couchbase)
uses: hoverkraft-tech/[email protected]
with:
compose-file: |
docker/docker-compose.yaml
services: |
weaviate
qdrant
couchbase-server
etcd
minio
milvus-standalone
pgvecto-rs
pgvector
chroma
elasticsearch
- name: Set up Vector Store (TiDB)
uses: hoverkraft-tech/[email protected]
with:
compose-file: |
Expand All @@ -65,4 +82,4 @@ jobs:
run: poetry run -C api python api/tests/integration_tests/vdb/tidb_vector/check_tiflash_ready.py

- name: Test Vector Stores
run: poetry run -C api pytest api/tests/integration_tests/vdb/tidb_vector
run: poetry run -C api bash dev/pytest/pytest_vdb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def main():
for attempt in range(attempts):
try:
create_table()
break # 如果成功,则退出循环
break
except Exception as e:
print(f"TiFlash is not ready. Exception: {e}")
print(f"Attempt {attempt + 1} failed,retry in {retry_wait_seconds} seconds...")
Expand Down
35 changes: 0 additions & 35 deletions docker/tidb/config/tiflash-learner-nightly.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
log-file = "/logs/tiflash_tikv.log"

[readpool]

[readpool.coprocessor]

[readpool.storage]

[server]
engine-addr = "tiflash:4030"
addr = "0.0.0.0:20280"
Expand All @@ -14,32 +8,3 @@ status-addr = "tiflash:20292"

[storage]
data-dir = "/data/flash"

[pd]

[metric]

[raftstore]
capacity = "10GB"

[coprocessor]

[rocksdb]
wal-dir = ""

[rocksdb.defaultcf]

[rocksdb.lockcf]

[rocksdb.writecf]

[raftdb]

[raftdb.defaultcf]

[security]
ca-path = ""
cert-path = ""
key-path = ""

[import]

0 comments on commit 9e56392

Please sign in to comment.