Skip to content

Commit

Permalink
Add PartitionInstanceLifecycler (#483)
Browse files Browse the repository at this point in the history
* Add PartitionInstanceLifecycler

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Updated CHANGELOG

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Fix linter issues

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Allow to configure the PollingInterval

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Removed unused waitPartitionPollInterval

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Clarify comment

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Improve wrapped error message

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Fix log message

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Move stopping log to stopping() function and run stopping() even if there was a running error

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Renamed run() to runOnLifecyclerLoop()

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Improved log message

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Renamed test cases

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Improve test case description and comments

Signed-off-by: Marco Pracucci <marco@pracucci.com>

---------

Signed-off-by: Marco Pracucci <marco@pracucci.com>
  • Loading branch information
pracucci committed Feb 13, 2024
1 parent f245b48 commit 80881aa
Show file tree
Hide file tree
Showing 5 changed files with 830 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
* [FEATURE] Add `middleware.HTTPGRPCTracer` for more detailed server-side tracing spans and tags on `httpgrpc.HTTP/Handle` requests
* [FEATURE] Server: Add support for `GrpcInflightMethodLimiter` -- limiting gRPC requests before reading full request into the memory. This can be used to implement global or method-specific inflight limits for gRPC methods. #377 #392
* [FEATURE] Server: Add `-grpc.server.num-workers` flag that configures the `grpc.NumStreamWorkers()` option. This can be used to start a fixed base amount of workers to process gRPC requests and avoid stack allocation for each call. #400
* [FEATURE] Add `PartitionRing`. The partitions ring is hash ring to shard data between partitions. #474 #476 #478 #479 #481
* [FEATURE] Add `PartitionRing`. The partitions ring is hash ring to shard data between partitions. #474 #476 #478 #479 #481 #483
* [FEATURE] Add methods `Increment`, `FlushAll`, `CompareAndSwap`, `Touch` to `cache.MemcachedClient` #477
* [ENHANCEMENT] Add ability to log all source hosts from http header instead of only the first one. #444
* [ENHANCEMENT] Add configuration to customize backoff for the gRPC clients.
Expand Down
Loading

0 comments on commit 80881aa

Please sign in to comment.