Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decom error adding key during iteration #1640

Closed
ghost opened this issue May 19, 2022 · 0 comments · Fixed by #1644
Closed

Decom error adding key during iteration #1640

ghost opened this issue May 19, 2022 · 0 comments · Fixed by #1644
Milestone

Comments

@ghost
Copy link

ghost commented May 19, 2022

I sometimes see this in the Docker logs for the operator microservice:

{"time":1652971630871585300,"@timestamp":"2022-05-19T14:47:10.871+00:00","severity":"ERROR","microservice_name":"DEFAULT__DECOM__INST","container_name":"fb01996b4427","log":"Decom error: RuntimeError : can't add a new key into hash during iteration\n/usr/lib/ruby/gems/3.0.0/gems/cosmos-5.0.4.pre.beta0/lib/cosmos/utilities/metric.rb:75:in `add_sample'\ndecom_microservice.rb:73:in `decom_packet'\ndecom_microservice.rb:46:in `block in run'\n/usr/lib/ruby/gems/3.0.0/gems/cosmos-5.0.4.pre.beta0/lib/cosmos/utilities/store_autoload.rb:237:in `block (3 levels) in read_topics'\n/usr/lib/ruby/gems/3.0.0/gems/cosmos-5.0.4.pre.beta0/lib/cosmos/utilities/store_autoload.rb:235:in `each'\n/usr/lib/ruby/gems/3.0.0/gems/cosmos-5.0.4.pre.beta0/lib/cosmos/utilities/store_autoload.rb:235:in `block (2 levels) in read_topics'\n/usr/lib/ruby/gems/3.0.0/gems/cosmos-5.0.4.pre.beta0/lib/cosmos/utilities/store_autoload.rb:234:in `each'\n/usr/lib/ruby/gems/3.0.0/gems/cosmos-5.0.4.pre.beta0/lib/cosmos/utilities/store_autoload.rb:234:in `block in read_topics'\n/usr/lib/ruby/gems/3.0.0/gems/connection_pool-2.2.5/lib/connection_pool.rb:63:in `block (2 levels) in with'\n/usr/lib/ruby/gems/3.0.0/gems/connection_pool-2.2.5/lib/connection_pool.rb:62:in `handle_interrupt'\n/usr/lib/ruby/gems/3.0.0/gems/connection_pool-2.2.5/lib/connection_pool.rb:62:in `block in with'\n/usr/lib/ruby/gems/3.0.0/gems/connection_pool-2.2.5/lib/connection_pool.rb:59:in `handle_interrupt'\n/usr/lib/ruby/gems/3.0.0/gems/connection_pool-2.2.5/lib/connection_pool.rb:59:in `with'\n/usr/lib/ruby/gems/3.0.0/gems/cosmos-5.0.4.pre.beta0/lib/cosmos/utilities/store_autoload.rb:230:in `read_topics'\n/usr/lib/ruby/gems/3.0.0/gems/cosmos-5.0.4.pre.beta0/lib/cosmos/utilities/store_autoload.rb:225:in `read_topics'\n/usr/lib/ruby/gems/3.0.0/gems/cosmos-5.0.4.pre.beta0/lib/cosmos/topics/topic.rb:29:in `read_topics'\ndecom_microservice.rb:43:in `run'\n/usr/lib/ruby/gems/3.0.0/gems/cosmos-5.0.4.pre.beta0/lib/cosmos/microservices/microservice.rb:47:in `run'\ndecom_microservice.rb:135:in `<main>'"}
@ghost ghost added bug cosmos5 labels May 19, 2022
@ghost ghost mentioned this issue May 20, 2022
@ghost ghost closed this as completed in #1644 May 20, 2022
@ghost ghost added this to the v5.0.4 milestone May 24, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

0 participants