Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [CGL] corrected comment on CheckForAcceptRequest * [CODING] all incoming request will (even erroneous) will get and log corresponding requestID. [CODING] resource manager now additionally relies on onw size of request queues. Should avoid cases there someone places many request at once * [CODING] more error logs now contains requestID for trouble shooting * [CODING] investigating code for deadlock if multiple requests are placed at same time. do not use in prod * [DEBUGGING] further investigation of a possible deadlock in addNewRequest * [BUGFIX] further investigation of a hang bug * [CODING] /ocr-status will now return a valid JSON with status "not found" and CODE 200 instead of 404 Status code * [CGL] RequestID will now be shown in the logs instead of requestID * [BUILD] removed netgo build flag from Makefile * Makefile now builds static linked executables * [BUGFIX] further investigation of a hang bug * [BUGFIX] further investigation of a hang bug, removed mutex l * [BUGFIX] further investigation of a hang bug, removed mutex l * [BUGFIX] further investigation of a hang bug, removed mutex l * [BUGFIX] further investigation of a hang bug, removed mutex l * [BUGFIX] further investigation of a hang bug, removed mutex l * [BUGFIX] further working on fixing hang bug on many simultaneous requests * [BUGFIX] further working on fixing hang bug on many simultaneous requests * [BUGFIX] further working on fixing hang bug on many simultaneous requests * [BUGFIX] corrected detection of an invalid reply_to address * [BUGFIX] fixed a bug there a deferred request with reply_to not set was returned without of request ID, so the requester didn't know which request to ask for * [BUGFIX] fixed a bug there the deferred requests were still tracked till timeout even if client hat successful downloaded them already * [BUGFIX] fixed race conditions on request counter and res manager [TODO] fix goroutine leak at [chan send, 3 minutes] ocr_rpc_client.go:221 * [BUGFIX] fixed race conditions request counter * [CGL] fixed comments * [CODING] added todo for fixing leaking go routines * [BUGFIX] go routines are not leaking anymore. There now a bug if "deferred": true, eply_to":"" are not set. The in-flight request queue won't be cleaned up for those requests. ocr_resultorage:72 needs to be considered * [CODING] better logging upon shutdown signal * [CODING] working on proper timeout cancel * [CODING] working on proper timeout cancel * [CODING] better logging in status handler * [CODING] correct handling of goroutines with replyto not set and deferred is true * [CGL] just some CGL * [CODING] go mod tidy * [CODING] updated dependency Co-authored-by: Artem Mil <[email protected]>
- Loading branch information