Age | Commit message (Collapse) | Author |
|
Fix bug with survived workers in the debug mode
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Fix #771, add tests.
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Add Stat with tests
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
memleak.php for the non-memory tests
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
drivers state.
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Fix tests according to the new mocks.
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
logger. Fix bugs discovered during testing.
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
other small bugs.
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
spawned goroutine might stuck on the channel send operation and leak
memory.
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
branch to handle dead workers inside the channel.
Update docker-compose.yaml used for the tests. Update rabbitmq to 3.9.1.
Replace third-party amqp091 with the official implementation.
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Fix bugs in the AMQP, update proto-api
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
# Conflicts:
# pkg/worker_watcher/interface.go
|
|
The worker after it executed the request, may overwrite the TTL state.
This inconsistency leads to the +1 worker in the FIFO channel.
In this state, the Push operation was blocked.
Add RR_BROADCAST_PATH.
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Fix isssues in the AMQP driver.
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
level.
AMQP consumer replace sync.Map with atomic.Value, because we associate
only 1 pipeline with a driver. So, we can store pipeline in the
atomic.Value.
Implement events handler, add job events. Use job events to push
information to the logger.
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Add DYNAMIC declaration of the pipelines. Update Jobs constructor
interface, add FromPipeline method to construct jobs driver (unique)
via the `Declare` RPC call.
Add `Stop` method to gracefully stop all consumers.
Binary heaps `GetMax` to canonical `ExtractMin`.
Other small improvements.
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
the Stat structure).
Make amqp Push concurrent safe.
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Add redialer, consumer, rabbit queues initializer.
Update configuration (.rr.yaml).
Add ack/nack for the jobs main plugin with error handling.
Add Qos, queues bining and declaration.
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Skeleton for the amqp plugin.
Add Timeout and Pipeline to the job.Context() method.
Implement queue limits for the ephemeral driver with main priority queue
limits.
Update configuration, add pipeline_size for every pipeline and jobs
priority queue size.
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
reached, insert operation will be blocked until all pending messages
have been fully consumed.
Signed-off-by: Valery Piashchynski <[email protected]>
|
|
Add Len() method to the Binary Heaps interface with implementation.
Start consumers only for the user-defined set from the config.
Add Headers field to the proto
Signed-off-by: Valery Piashchynski <[email protected]>
|