Arnaud Gourlay
6f939648d1
[sharding] Remote shard operations via gRPC ( #505 )
...
* Remote shard operations via gRPC
* wire up properly the peer id address lookup
* remove unreachable_code by negating config. predicate
* TryFrom i32 for CollectionStatus
* split conversion code to improve readability
* collect HashMap results
* optimize imports
* extract request building code for readability
* ip_to_address uses Uri
* ip_to_address is encapsulated in the RemoteShard
2022-04-29 19:40:55 +02:00
dependabot[bot]
681d3d33e6
Bump tonic-build from 0.7.0 to 0.7.1 ( #520 )
...
Bumps [tonic-build](https://github.com/hyperium/tonic ) from 0.7.0 to 0.7.1.
- [Release notes](https://github.com/hyperium/tonic/releases )
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/tonic/compare/v0.7.0...v0.7.1 )
---
updated-dependencies:
- dependency-name: tonic-build
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 21:05:03 +02:00
Egor Ivkov
d4bb6e4f49
Send Raft messages with gRPC client ( #509 )
...
* Send Raft messages with gRPC client
* Review: more specific thread names
2022-04-27 13:01:41 +03:00
Andrey Vasnetsov
61e6a1872c
ensure lib/api version is same as main package ( #504 )
2022-04-25 10:10:09 +02:00
Egor Ivkov
77b7e666be
Add gRPC RaftService ( #490 )
...
* Add gRPC `RaftService`
* Review: Back-pressure with bounded channel
2022-04-20 14:23:26 +03:00
Egor Ivkov
9885628f0a
Remove java related proto3 options ( #485 )
...
As the project does not use java code generation
2022-04-14 18:39:52 +03:00
dependabot[bot]
bd8ad015c8
Bump prost-types from 0.10.0 to 0.10.1 ( #479 )
...
* Bump prost-types from 0.10.0 to 0.10.1
Bumps [prost-types](https://github.com/tokio-rs/prost ) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/tokio-rs/prost/releases )
- [Commits](https://github.com/tokio-rs/prost/compare/v0.10.0...v0.10.1 )
---
updated-dependencies:
- dependency-name: prost-types
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* prost 0.10.1
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Arnaud Gourlay <arnaud.gourlay@gmail.com >
2022-04-14 11:17:02 +02:00
Arnaud Gourlay
ca82a80bd3
Internal gRPC API for get collection info ( #476 )
2022-04-13 19:45:34 +02:00
Arnaud Gourlay
62d4273ed2
[Sharding] internal API for shard-aware points retrieval ( #475 )
2022-04-13 14:10:15 +02:00
Arnaud Gourlay
367afa3866
[sharding] Add internal gRPC API for search recommend & scroll ( #463 )
...
* Add internal gRPC API for search recommend & scroll
* introduce BadShardSelection which translates into a client side error
* introduce Collection target_shards to decrease code duplication
* recommend uses a shard_selection aware retrieve
2022-04-13 13:16:53 +02:00
Arnaud Gourlay
b77482702a
add internal API for CollectionUpdateOperations ( #445 )
2022-04-11 11:27:44 +02:00
Egor Ivkov
ee4cd768ea
Allows specifying collection meta operation commit timeout in API ( #444 )
...
* Allows specifying collection meta operation commit timeout in API
Also restructures a part of gRPC collection API
* Review: link to dev docs
* Review: Timeout error description
Also committed generated protobuf code that somehow was left out
* Review: seconds in API and minor proto fixes
2022-04-08 14:42:38 +03:00
Arnaud Gourlay
36ad5ffa80
do not format output of tonic as it is now using prettyplease ( #451 )
2022-04-08 10:41:52 +02:00
dependabot[bot]
5403fc13a2
Bump tonic from 0.7.0 to 0.7.1 ( #441 )
...
Bumps [tonic](https://github.com/hyperium/tonic ) from 0.7.0 to 0.7.1.
- [Release notes](https://github.com/hyperium/tonic/releases )
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/tonic/compare/v0.7.0...v0.7.1 )
---
updated-dependencies:
- dependency-name: tonic
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-07 10:15:53 +02:00
Andrey Vasnetsov
ce21abf033
Values count condition ( #439 )
...
* add values_count condition
* fmt
* fix tests and clippy
* fmt
2022-04-05 14:31:53 +02:00
Arnaud Gourlay
ded49e505c
[Sharding] Shard aware updates for internal API ( #427 )
...
* Shard aware updates for internal API
* code-review: remove general purpose collection update API
* code review: add clarification comment
2022-04-04 11:25:43 +02:00
Andrey Vasnetsov
b07428f620
Is empty condition ( #423 )
...
* is-empty condition
* fmt
* better assert
* fmt
2022-04-03 16:55:51 +02:00
Andrey Vasnetsov
adc1f4ad97
Bool filter ( #421 )
...
* bool match condition
* use generic values for match requests
* fmt
* upd grpc interface
* upd grpc docs
2022-04-03 16:08:34 +02:00
dependabot[bot]
c2d4a9927f
Bump tonic from 0.6.2 to 0.7.0 ( #432 )
...
* Bump tonic from 0.6.2 to 0.7.0
Bumps [tonic](https://github.com/hyperium/tonic ) from 0.6.2 to 0.7.0.
- [Release notes](https://github.com/hyperium/tonic/releases )
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/tonic/compare/v0.6.2...v0.7.0 )
---
updated-dependencies:
- dependency-name: tonic
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* tonic-build 0.7.0
* prost 0.10.0
* prost 0.7.0 for storage because of raft dependency
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Arnaud Gourlay <arnaud.gourlay@gmail.com >
2022-04-01 22:50:35 +02:00
Arnaud Gourlay
967e265900
[sharding] Extract grpc feature into sub-crate ( #412 )
...
* extract grpc feature into sub-crate
* move build.rs to api crate
* split proto files between services and objects
* update docs
2022-03-30 10:12:02 +02:00