Age | Commit message (Collapse) | Author |
|
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]>
|
|
|
|
|
|
|
|
Add tests
|
|
bug(server): Incorrectly set environment variables
|
|
|
|
|
|
|
|
feat(worker_watcher): Add stack tests
|
|
|
|
|
|
|
|
|
|
calculation of workers in stack at the Destroy stage
|
|
|
|
|
|
|
|
fix(yaml): Use mapstructure structure tags instead of yaml
|
|
fix/use_mapstructure_instead_yaml_tags
# Conflicts:
# .rr.yaml
# CHANGELOG.md
|
|
instead
|
|
|
|
1.9.2 release milestone
|
|
|
|
# Conflicts:
# .github/workflows/build.yml
# .rr.yaml
# cmd/rr/cmd/root.go
# cmd/rr/cmd/serve.go
# cmd/rr/http/debug.go
# cmd/rr/http/metrics.go
# cmd/rr/http/workers.go
# cmd/util/config.go
# cmd/util/cprint.go
# cmd/util/debug.go
# cmd/util/rpc.go
# config.go
# config_test.go
# controller.go
# controller_test.go
# error_buffer_test.go
# errors_test.go
# pipe_factory_test.go
# pkg/socket/socket_factory_test.go
# plugins/http/config.go
# plugins/http/handler.go
# plugins/http/request.go
# plugins/http/response.go
# plugins/http/uploads.go
# plugins/metrics/config_test.go
# plugins/reload/config.go
# plugins/rpc/config.go
# protocol.go
# protocol_test.go
# server.go
# server_config.go
# server_config_test.go
# server_test.go
# service/container.go
# service/container_test.go
# service/entry_test.go
# service/env/config_test.go
# service/env/service_test.go
# service/gzip/config_test.go
# service/gzip/service.go
# service/gzip/service_test.go
# service/headers/config_test.go
# service/headers/service.go
# service/headers/service_test.go
# service/health/config_test.go
# service/health/service.go
# service/health/service_test.go
# service/http/config_test.go
# service/http/fcgi_test.go
# service/http/rpc_test.go
# service/http/service.go
# service/http/service_test.go
# service/http/ssl_test.go
# service/limit/config.go
# service/limit/config_test.go
# service/limit/controller.go
# service/limit/state_filter.go
# service/metrics/rpc_test.go
# service/metrics/service_test.go
# service/rpc/service.go
# service/rpc/service_test.go
# service/static/config.go
# service/static/config_test.go
# service/static/service.go
# service/static/service_test.go
# socket_factory.go
# state_test.go
# static_pool.go
# static_pool_test.go
# tests/plugins/http/attributes_test.go
# tests/plugins/http/handler_test.go
# tests/plugins/http/uploads_config_test.go
# tests/plugins/http/uploads_test.go
# tests/plugins/reload/config_test.go
# tests/plugins/rpc/config_test.go
# tools/worker_table.go
# util/state.go
# util/state_test.go
# worker.go
# worker_test.go
|
|
feat(env): Add RR system environment variables
|
|
Add removed state to the worker before it being removed
|
|
|
|
|
|
Add comments
Add support for the automatically set RR_RPC, RR_HTTP env variables for
the worker process.
|
|
472: feat(http): Distinct app and internal error codes in the handleError function r=48d90782 a=48d90782
This PR introduces distinct error codes for the app and internal RR errors.
Errors:
```go
roadrunner.ErrNoAssociatedPool
roadrunner.ErrAllocateWorker
roadrunner.ErrWorkerNotReady
roadrunner.ErrEmptyPayload
roadrunner.ErrPoolStopped
roadrunner.ErrWorkerAllocateTimeout
roadrunner.ErrAllWorkersAreDead
```
now associated with the internal error codes. All other errors are application errors.
Some types of errors are impossible to distinguish in the RR1, for example `json.Unmarshall` internal error or similar.
The `.rr.yaml` now contain two more options for the errors.
```yaml
http:
internalErrorCode: 502,
appErrorCode: 502
```
Default behavior unchanged (500 error code as before), but now might be overridden.
closes #471
Co-authored-by: Valery Piashchynski <[email protected]>
|
|
|
|
|
|
|
|
|
|
Format imports and code
Distinct internal and app errors
|
|
|
|
|
|
[RR2] Bugfix/missed pool events
|
|
|
|
|
|
|
|
|
|
Plugin/kv
|
|
|
|
|
|
|