Skip to content

Commit

Permalink
Add UpdateTimestamp API (#2605)
Browse files Browse the repository at this point in the history
Signed-off-by: kpango <[email protected]>
  • Loading branch information
kpango committed Sep 12, 2024
1 parent 0e12419 commit 8c58f05
Show file tree
Hide file tree
Showing 255 changed files with 18,594 additions and 6,777 deletions.
2,698 changes: 2,608 additions & 90 deletions .cspell.json

Large diffs are not rendered by default.

145 changes: 87 additions & 58 deletions .gitfiles
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
.github/chatops_permissions.yaml
.github/codeql/codeql-config.yaml
.github/conflint.yaml
.github/dependabot.yml
.github/dependabot.yaml
.github/helm/values/vald-mirror-target.yaml
.github/helm/values/values-agent-sidecar.yaml
.github/helm/values/values-chaos.yaml
Expand All @@ -60,72 +60,72 @@
.github/helm/values/values-readreplica.yaml
.github/issue_label_bot.yaml
.github/kubelinter.yaml
.github/labeler.yml
.github/labeler.yaml
.github/valdrelease/valdrelease.yaml
.github/workflows/_detect-ci-container.yml
.github/workflows/_detect-ci-container.yaml
.github/workflows/_docker-image-scan.yaml
.github/workflows/_docker-image.yaml
.github/workflows/_release-pr.yml
.github/workflows/_release-pr.yaml
.github/workflows/_update-protobuf.yaml
.github/workflows/backport.yml
.github/workflows/build-binaries.yml
.github/workflows/build-protobuf.yml
.github/workflows/chatops-help.yml
.github/workflows/chatops.yml
.github/workflows/check-conflict.yml
.github/workflows/codeql-analysis.yml
.github/workflows/coverage.yml
.github/workflows/detect-internal-config-changes.yml
.github/workflows/dockers-agent-faiss-image.yml
.github/workflows/dockers-agent-image.yml
.github/workflows/dockers-agent-ngt-image.yml
.github/workflows/dockers-agent-sidecar-image.yml
.github/workflows/dockers-benchmark-job-image.yml
.github/workflows/backport.yaml
.github/workflows/build-binaries.yaml
.github/workflows/build-protobuf.yaml
.github/workflows/chatops-help.yaml
.github/workflows/chatops.yaml
.github/workflows/check-conflict.yaml
.github/workflows/codeql-analysis.yaml
.github/workflows/coverage.yaml
.github/workflows/detect-internal-config-changes.yaml
.github/workflows/dockers-agent-faiss-image.yaml
.github/workflows/dockers-agent-image.yaml
.github/workflows/dockers-agent-ngt-image.yaml
.github/workflows/dockers-agent-sidecar-image.yaml
.github/workflows/dockers-benchmark-job-image.yaml
.github/workflows/dockers-benchmark-operator-image.yaml
.github/workflows/dockers-binfmt-image.yaml
.github/workflows/dockers-buildbase-image.yml
.github/workflows/dockers-buildbase-image.yaml
.github/workflows/dockers-buildkit-image.yaml
.github/workflows/dockers-buildkit-syft-scanner-image.yaml
.github/workflows/dockers-ci-container-image.yml
.github/workflows/dockers-dev-container-image.yml
.github/workflows/dockers-discoverer-k8s-image.yml
.github/workflows/dockers-gateway-filter-image.yml
.github/workflows/dockers-gateway-lb-image.yml
.github/workflows/dockers-ci-container-image.yaml
.github/workflows/dockers-dev-container-image.yaml
.github/workflows/dockers-discoverer-k8s-image.yaml
.github/workflows/dockers-gateway-filter-image.yaml
.github/workflows/dockers-gateway-lb-image.yaml
.github/workflows/dockers-gateway-mirror-image.yaml
.github/workflows/dockers-helm-operator-image.yml
.github/workflows/dockers-image-scan.yml
.github/workflows/dockers-index-correction.yml
.github/workflows/dockers-index-creation.yml
.github/workflows/dockers-index-operator.yml
.github/workflows/dockers-index-save.yml
.github/workflows/dockers-loadtest-image.yml
.github/workflows/dockers-manager-index-image.yml
.github/workflows/dockers-readreplica-rotate.yml
.github/workflows/dockers-helm-operator-image.yaml
.github/workflows/dockers-image-scan.yaml
.github/workflows/dockers-index-correction-image.yaml
.github/workflows/dockers-index-creation-image.yaml
.github/workflows/dockers-index-operator-image.yaml
.github/workflows/dockers-index-save-image.yaml
.github/workflows/dockers-loadtest-image.yaml
.github/workflows/dockers-manager-index-image.yaml
.github/workflows/dockers-readreplica-rotate-image.yaml
.github/workflows/dockers-release-branch-image.yaml
.github/workflows/e2e-chaos.yaml
.github/workflows/e2e-code-bench-agent.yaml
.github/workflows/e2e-max-dim.yml
.github/workflows/e2e-profiling.yml
.github/workflows/e2e.yml
.github/workflows/format.yml
.github/workflows/fossa.yml
.github/workflows/helm-lint.yml
.github/workflows/helm.yml
.github/workflows/e2e-max-dim.yaml
.github/workflows/e2e-profiling.yaml
.github/workflows/e2e.yaml
.github/workflows/format.yaml
.github/workflows/fossa.yaml
.github/workflows/helm-lint.yaml
.github/workflows/helm.yaml
.github/workflows/issue-metrics.yaml
.github/workflows/labeler.yml
.github/workflows/release.yml
.github/workflows/reviewdog-hadolint.yml
.github/workflows/reviewdog-k8s.yml
.github/workflows/reviewdog-markdown.yml
.github/workflows/reviewdog.yml
.github/workflows/labeler.yaml
.github/workflows/release.yaml
.github/workflows/reviewdog-hadolint.yaml
.github/workflows/reviewdog-k8s.yaml
.github/workflows/reviewdog-markdown.yaml
.github/workflows/reviewdog.yaml
.github/workflows/semver-major-minor.yaml
.github/workflows/semver-patch.yaml
.github/workflows/test-hack.yml
.github/workflows/test-hack.yaml
.github/workflows/unit-test.yaml
.github/workflows/update-actions.yaml
.github/workflows/update-protobuf.yaml
.github/workflows/update-pull-request-and-issue-template.yml
.github/workflows/update-web-docs.yml
.github/workflows/update-pull-request-and-issue-template.yaml
.github/workflows/update-web-docs.yaml
.gitignore
.golangci.yml
.prh.yaml
Expand All @@ -140,7 +140,6 @@ Makefile
Makefile.d/actions.mk
Makefile.d/bench.mk
Makefile.d/build.mk
Makefile.d/client.mk
Makefile.d/dependencies.mk
Makefile.d/docker.mk
Makefile.d/e2e.mk
Expand Down Expand Up @@ -168,6 +167,8 @@ apis/grpc/v1/filter/egress/egress_filter.pb.go
apis/grpc/v1/filter/egress/egress_filter_vtproto.pb.go
apis/grpc/v1/filter/ingress/ingress_filter.pb.go
apis/grpc/v1/filter/ingress/ingress_filter_vtproto.pb.go
apis/grpc/v1/meta/meta.pb.go
apis/grpc/v1/meta/meta_vtproto.pb.go
apis/grpc/v1/mirror/mirror.go
apis/grpc/v1/mirror/mirror.pb.go
apis/grpc/v1/mirror/mirror_vtproto.pb.go
Expand Down Expand Up @@ -204,6 +205,7 @@ apis/proto/v1/agent/sidecar/sidecar.proto
apis/proto/v1/discoverer/discoverer.proto
apis/proto/v1/filter/egress/egress_filter.proto
apis/proto/v1/filter/ingress/ingress_filter.proto
apis/proto/v1/meta/meta.proto
apis/proto/v1/mirror/mirror.proto
apis/proto/v1/payload/payload.proto
apis/proto/v1/rpc/errdetails/error_details.proto
Expand All @@ -221,6 +223,7 @@ apis/swagger/v1/agent/sidecar/sidecar.swagger.json
apis/swagger/v1/discoverer/discoverer.swagger.json
apis/swagger/v1/filter/egress/egress_filter.swagger.json
apis/swagger/v1/filter/ingress/ingress_filter.swagger.json
apis/swagger/v1/meta/meta.swagger.json
apis/swagger/v1/mirror/mirror.swagger.json
apis/swagger/v1/payload/payload.swagger.json
apis/swagger/v1/rpc/errdetails/error_details.swagger.json
Expand Down Expand Up @@ -511,6 +514,7 @@ cmd/tools/cli/loadtest/main_test.go
cmd/tools/cli/loadtest/sample.yaml
cmd/tools/cli/vdctl/main.go
cmd/tools/cli/vdctl/main_test.go
codecov.yaml
design/Vald Architecture Assets.drawio
design/Vald Architecture Dataflow.drawio
design/Vald Architecture Overview.drawio
Expand Down Expand Up @@ -625,6 +629,7 @@ example/manifest/scylla/job.yaml
go.mod
go.sum
hack/CHANGELOG.template.md
hack/actions/gen/main.go
hack/benchmark/assets/checksum/fashion-mnist-784-euclidean.md5
hack/benchmark/assets/checksum/gist-960-euclidean.md5
hack/benchmark/assets/checksum/glove-100-angular.md5
Expand Down Expand Up @@ -698,6 +703,8 @@ hack/benchmark/internal/starter/gateway/vald/vald_test.go
hack/benchmark/internal/starter/starter.go
hack/benchmark/metrics/metrics.go
hack/benchmark/src/singleflight/singleflight_bench_test.go
hack/cspell/main.go
hack/cspell/main_test.go
hack/docker/gen/main.go
hack/git/hooks/pre-commit
hack/go.mod.default
Expand Down Expand Up @@ -1422,6 +1429,15 @@ k8s/gateway/gateway/lb/hpa.yaml
k8s/gateway/gateway/lb/pdb.yaml
k8s/gateway/gateway/lb/priorityclass.yaml
k8s/gateway/gateway/lb/svc.yaml
k8s/gateway/gateway/mirror/clusterrole.yaml
k8s/gateway/gateway/mirror/clusterrolebinding.yaml
k8s/gateway/gateway/mirror/configmap.yaml
k8s/gateway/gateway/mirror/deployment.yaml
k8s/gateway/gateway/mirror/hpa.yaml
k8s/gateway/gateway/mirror/pdb.yaml
k8s/gateway/gateway/mirror/priorityclass.yaml
k8s/gateway/gateway/mirror/serviceaccount.yaml
k8s/gateway/gateway/mirror/svc.yaml
k8s/index/job/correction/configmap.yaml
k8s/index/job/correction/cronjob.yaml
k8s/index/job/creation/configmap.yaml
Expand Down Expand Up @@ -1594,6 +1610,8 @@ pkg/agent/internal/kvs/kvs.go
pkg/agent/internal/kvs/kvs_test.go
pkg/agent/internal/kvs/option.go
pkg/agent/internal/kvs/option_test.go
pkg/agent/internal/memstore/data_manager.go
pkg/agent/internal/memstore/data_manager_test.go
pkg/agent/internal/metadata/metadata.go
pkg/agent/internal/metadata/metadata_test.go
pkg/agent/internal/vqueue/option.go
Expand Down Expand Up @@ -1897,19 +1915,31 @@ rust/bin/agent/src/handler/search.rs
rust/bin/agent/src/handler/update.rs
rust/bin/agent/src/handler/upsert.rs
rust/bin/agent/src/main.rs
rust/libs/ngt-rs/Cargo.toml
rust/libs/ngt-rs/build.rs
rust/libs/ngt-rs/src/input.cpp
rust/libs/ngt-rs/src/input.h
rust/libs/ngt-rs/src/lib.rs
rust/libs/ngt/Cargo.toml
rust/libs/ngt/src/lib.rs
rust/bin/meta/Cargo.toml
rust/bin/meta/src/handler.rs
rust/bin/meta/src/handler/meta.rs
rust/bin/meta/src/main.rs
rust/libs/algorithm/Cargo.toml
rust/libs/algorithm/src/lib.rs
rust/libs/algorithms/faiss/Cargo.toml
rust/libs/algorithms/faiss/src/lib.rs
rust/libs/algorithms/ngt/Cargo.toml
rust/libs/algorithms/ngt/build.rs
rust/libs/algorithms/ngt/src/input.cpp
rust/libs/algorithms/ngt/src/input.h
rust/libs/algorithms/ngt/src/lib.rs
rust/libs/observability/Cargo.toml
rust/libs/observability/src/config.rs
rust/libs/observability/src/lib.rs
rust/libs/observability/src/macros.rs
rust/libs/observability/src/observability.rs
rust/libs/proto/Cargo.toml
rust/libs/proto/src/core.v1.tonic.rs
rust/libs/proto/src/discoverer.v1.tonic.rs
rust/libs/proto/src/filter.egress.v1.tonic.rs
rust/libs/proto/src/filter.ingress.v1.tonic.rs
rust/libs/proto/src/lib.rs
rust/libs/proto/src/meta.v1.tonic.rs
rust/libs/proto/src/mirror.v1.tonic.rs
rust/libs/proto/src/payload.v1.rs
rust/libs/proto/src/rpc.v1.rs
Expand Down Expand Up @@ -1965,7 +1995,6 @@ versions/PROTOBUF_VERSION
versions/REVIEWDOG_VERSION
versions/RUST_VERSION
versions/TELEPRESENCE_VERSION
versions/VALDCLI_VERSION
versions/VALD_VERSION
versions/YQ_VERSION
versions/ZLIB_VERSION
Expand Down
10 changes: 5 additions & 5 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ assignees: ""
<!--- Please change the versions below along with your environment -->

- Vald Version: v1.7.13
- Go Version: v1.23.0
- Rust Version: v1.80.0
- Docker Version: v27.1.1
- Kubernetes Version: v1.30.3
- Helm Version: v3.15.3
- Go Version: v1.23.1
- Rust Version: v1.81.0
- Docker Version: v27.2.1
- Kubernetes Version: v1.31.0
- Helm Version: v3.16.1
- NGT Version: v2.2.4
- Faiss Version: v1.8.0
10 changes: 5 additions & 5 deletions .github/ISSUE_TEMPLATE/security_issue_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ assignees: ""
<!--- Please change the versions below along with your environment -->

- Vald Version: v1.7.13
- Go Version: v1.23.0
- Rust Version: v1.80.0
- Docker Version: v27.1.1
- Kubernetes Version: v1.30.3
- Helm Version: v3.15.3
- Go Version: v1.23.1
- Rust Version: v1.81.0
- Docker Version: v27.2.1
- Kubernetes Version: v1.31.0
- Helm Version: v3.16.1
- NGT Version: v2.2.4
- Faiss Version: v1.8.0
10 changes: 5 additions & 5 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@

<!--- Please change the versions below along with your environment -->
- Vald Version: v1.7.13
- Go Version: v1.23.0
- Rust Version: v1.80.0
- Docker Version: v27.1.1
- Kubernetes Version: v1.30.3
- Helm Version: v3.15.3
- Go Version: v1.23.1
- Rust Version: v1.81.0
- Docker Version: v27.2.1
- Kubernetes Version: v1.31.0
- Helm Version: v3.16.1
- NGT Version: v2.2.4
- Faiss Version: v1.8.0

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion .github/helm/values/values-correction.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

defaults:
logging:
level: info
level: debug
networkPolicy:
enabled: true
gateway:
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/dump-context
detect-ci-container:
uses: ./.github/workflows/_detect-ci-container.yml
uses: ./.github/workflows/_detect-ci-container.yaml
secrets: inherit
create:
needs:
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/dump-context
detect-ci-container:
uses: ./.github/workflows/_detect-ci-container.yml
uses: ./.github/workflows/_detect-ci-container.yaml
build-linux:
runs-on: ubuntu-latest
needs: [detect-ci-container]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/dump-context
detect-ci-container:
uses: ./.github/workflows/_detect-ci-container.yml
uses: ./.github/workflows/_detect-ci-container.yaml
build:
runs-on: ubuntu-latest
needs: [detect-ci-container]
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
git config --global --add safe.directory ${GITHUB_WORKSPACE}
- name: Check conflict
run: |
if grep -r "<<<< HEAD" . --exclude-dir=.git --exclude=check-conflict.yml; then
if grep -r "<<<< HEAD" . --exclude-dir=.git --exclude=check-conflict.yaml; then
PR_COMMENTS=`curl ${API_URL}?per_page=10000`
BODY=`echo -E "${PR_COMMENTS}" | jq 'last(.[] | select(.user.login == "vdaas-ci") | select(.body | test("^\\\\*\\\\*\\\\[WARNING:CONFLICT")) | .body)' -r`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ on:
- "release/v*.*"
- "!release/v*.*.*"
paths:
- ".github/workflows/codeql-analysis.yml"
- ".github/workflows/codeql-analysis.yaml"
- "**.go"
schedule:
- cron: "0 1 * * *"
Expand All @@ -42,7 +42,7 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/dump-context
detect-ci-container:
uses: ./.github/workflows/_detect-ci-container.yml
uses: ./.github/workflows/_detect-ci-container.yaml
codeql-build:
name: CodeQL
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ on:
branches:
- main
paths:
- ".github/workflows/coverage.yml"
- ".github/workflows/coverage.yaml"
- "internal/**"
- "pkg/**"
- "cmd/**"
pull_request:
paths:
- ".github/workflows/coverage.yml"
- ".github/workflows/coverage.yaml"
- "internal/**"
- "pkg/**"
- "cmd/**"
Expand All @@ -36,7 +36,7 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/dump-context
detect-ci-container:
uses: ./.github/workflows/_detect-ci-container.yml
uses: ./.github/workflows/_detect-ci-container.yaml
coverage:
runs-on: ubuntu-latest
needs: [detect-ci-container]
Expand Down
Loading

0 comments on commit 8c58f05

Please sign in to comment.