Skip to content

Commit

Permalink
build(deps): use AVS 1.0.0 protobuf spec, adds node roles to about re…
Browse files Browse the repository at this point in the history
…sponse
  • Loading branch information
dwelch-spike committed Dec 6, 2024
1 parent 3eaaf64 commit b58a7d2
Show file tree
Hide file tree
Showing 14 changed files with 65 additions and 47 deletions.
16 changes: 16 additions & 0 deletions proto/vector-db.proto
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ message AboutRequest {
message AboutResponse {
// AVS server version.
string version = 1;

// Assigned node roles.
repeated NodeRole roles = 2;
}

// Cluster Id
Expand All @@ -29,6 +32,19 @@ message NodeId {
uint64 id = 1;
}

// Node roles determine the tasks a node will undertake.
enum NodeRole {
// Node will handle ANN query related tasks.
INDEX_QUERY = 0;

// Node will handle vector index update/maintenance tasks including
// index, insert, delete and update of vector records and index healing.
INDEX_UPDATE = 1;

// Node will handle key value read operations.
KV_READ = 2;
}

// Server endpoint.
message ServerEndpoint {
// IP address or DNS name.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ classifiers = [
version = "3.0.1"
requires-python = ">3.8"
dependencies = [
"grpcio == 1.67.1",
"grpcio == 1.68.1",
"protobuf == 5.28.3",
"pyjwt == 2.9.0",
"numpy",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from . import auth_pb2 as auth__pb2

GRPC_GENERATED_VERSION = '1.67.1'
GRPC_GENERATED_VERSION = '1.68.1'
GRPC_VERSION = grpc.__version__
_version_not_supported = False

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from . import index_pb2 as index__pb2
from . import types_pb2 as types__pb2

GRPC_GENERATED_VERSION = '1.67.1'
GRPC_GENERATED_VERSION = '1.68.1'
GRPC_VERSION = grpc.__version__
_version_not_supported = False

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from . import transact_pb2 as transact__pb2
from . import types_pb2 as types__pb2

GRPC_GENERATED_VERSION = '1.67.1'
GRPC_GENERATED_VERSION = '1.68.1'
GRPC_VERSION = grpc.__version__
_version_not_supported = False

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import warnings


GRPC_GENERATED_VERSION = '1.67.1'
GRPC_GENERATED_VERSION = '1.68.1'
GRPC_VERSION = grpc.__version__
_version_not_supported = False

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from . import types_pb2 as types__pb2
from . import user_admin_pb2 as user__admin__pb2

GRPC_GENERATED_VERSION = '1.67.1'
GRPC_GENERATED_VERSION = '1.68.1'
GRPC_VERSION = grpc.__version__
_version_not_supported = False

Expand Down
52 changes: 27 additions & 25 deletions src/aerospike_vector_search/shared/proto_generated/vector_db_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
from . import vector_db_pb2 as vector__db__pb2

GRPC_GENERATED_VERSION = '1.67.1'
GRPC_GENERATED_VERSION = '1.68.1'
GRPC_VERSION = grpc.__version__
_version_not_supported = False

Expand Down

0 comments on commit b58a7d2

Please sign in to comment.