-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify filter_memory_leak to use async indexing
- Loading branch information
1 parent
2247b2b
commit f58e2e0
Showing
24 changed files
with
172 additions
and
14 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import docker | ||
|
||
def get_env_variables(partial_image_name): | ||
client = docker.from_env() | ||
# List all running containers | ||
containers = client.containers.list() | ||
|
||
# Filter containers where the image name matches the partial name | ||
matching_containers = [ | ||
container for container in containers if partial_image_name in container.image.tags[0] | ||
] | ||
|
||
if not matching_containers: | ||
print(f"No running containers found matching image name: {partial_image_name}") | ||
return | ||
|
||
# Retrieve and print environment variables for each matching container | ||
for container in matching_containers: | ||
print(f"Environment variables for container {container.short_id}:") | ||
exec_result = container.exec_run("env", stdout=True, stderr=True) | ||
print(exec_result.output.decode()) | ||
print("--------------------------------------------") | ||
|
||
# Replace with a partial image name | ||
get_env_variables("weaviate") |
Submodule multi-tenancy-load-test
updated
18 files
+4 −0 | README.md | |
+36 −0 | concurrency-diagnostics/go.mod | |
+202 −0 | concurrency-diagnostics/go.sum | |
+269 −0 | concurrency-diagnostics/run.go | |
+1 −1 | config.env | |
+1 −1 | create_cluster.sh | |
+0 −2 | importer/Dockerfile | |
+3 −0 | importer/manifests/import-job.yaml | |
+3 −0 | importer/manifests/querying-deployment.yaml | |
+3 −0 | importer/manifests/reset-schema-pod.yaml | |
+9 −5 | importer/query.sh | |
+21 −31 | importer/querying.py | |
+1 −0 | importer/requirements.txt | |
+24 −42 | importer/reset_schema.py | |
+5 −31 | importer/schema_corruption_checker.py | |
+31 −41 | importer/tenants_and_data.py | |
+1 −1 | weaviate/deploy.sh | |
+20 −2 | weaviate/values.yaml |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import docker | ||
|
||
|
||
def get_env_variables(partial_image_name): | ||
client = docker.from_env() | ||
containers = client.containers.list() | ||
|
||
matching_containers = [ | ||
container for container in containers if partial_image_name in container.image.tags[0] | ||
] | ||
|
||
if not matching_containers: | ||
print(f"No running containers found matching image name: {partial_image_name}") | ||
return | ||
|
||
for container in matching_containers: | ||
print(f"Environment variables for container {container.short_id}:") | ||
exec_result = container.exec_run("env", stdout=True, stderr=True) | ||
print(exec_result.output.decode()) | ||
print("--------------------------------------------") | ||
|
||
|
||
get_env_variables("weaviate") |
This file contains 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