Figured out pulling the gem but we're still running into issues unfortunately. It's no longer a 'ThreadError: deadlock...', but seems to be failing in the same place.
PG::ConnectionBad: PQconsumeInput() server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. + 16 non-project frames - 20 non-project frames 112 File "/usr/local/bundle/gems/rollbar-2.14.1/lib/rollbar/middleware/rack.rb" line 20 in block in call 113 File "/usr/local/bundle/gems/rollbar-2.14.1/lib/rollbar.rb" line 145 in scoped 114 File "/usr/local/bundle/gems/rollbar-2.14.1/lib/rollbar/middleware/rack.rb" line 18 in call 115 File "/usr/local/bundle/gems/rack-parser-0.6.1/lib/rack/parser.rb" line 23 in call 116 File "/usr/local/bundle/gems/rack-protection-1.5.5/lib/rack/protection/xss_header.rb" line 18 in call 117 File "/usr/local/bundle/gems/rack-protection-1.5.5/lib/rack/protection/path_traversal.rb" line 16 in call 118 File "/usr/local/bundle/gems/rack-protection-1.5.5/lib/rack/protection/json_csrf.rb" line 18 in call 119 File "/usr/local/bundle/gems/rack-protection-1.5.5/lib/rack/protection/base.rb" line 49 in call 120 File "/usr/local/bundle/gems/rack-protection-1.5.5/lib/rack/protection/base.rb" line 49 in call 121 File "/usr/local/bundle/gems/rack-protection-1.5.5/lib/rack/protection/frame_options.rb" line 31 in call 122 File "/usr/local/bundle/gems/rack-1.6.9/lib/rack/nulllogger.rb" line 9 in call 123 File "/usr/local/bundle/gems/rack-1.6.9/lib/rack/head.rb" line 13 in call 124 File "/usr/local/bundle/gems/sinatra-1.4.8/lib/sinatra/base.rb" line 182 in call 125 File "/usr/local/bundle/gems/sinatra-1.4.8/lib/sinatra/base.rb" line 2013 in call 126 File "/usr/local/bundle/gems/puma-3.11.3/lib/puma/configuration.rb" line 225 in call 127 File "/usr/local/bundle/gems/puma-3.11.3/lib/puma/server.rb" line 624 in handle_request 128 File "/usr/local/bundle/gems/puma-3.11.3/lib/puma/server.rb" line 438 in process_client 129 File "/usr/local/bundle/gems/puma-3.11.3/lib/puma/server.rb" line 302 in block in run 130 File "/usr/local/bundle/gems/puma-3.11.3/lib/puma/thread_pool.rb" line 120 in block in spawn_thread 131 File "/usr/local/bundle/gems/logging-2.2.2/lib/logging/diagnostic_context.rb" line 474 in block in create_with_logging_context Sequel::DatabaseDisconnectError: PG::ConnectionBad: PQconsumeInput() server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. - 16 non-project frames 1 File "/usr/local/bundle/bundler/gems/sequel-0db9e0097eb3/lib/sequel/adapters/postgres.rb" line 146 in async_exec 2 File "/usr/local/bundle/bundler/gems/sequel-0db9e0097eb3/lib/sequel/adapters/postgres.rb" line 146 in block in execute_query 3 File "/usr/local/bundle/bundler/gems/sequel-0db9e0097eb3/lib/sequel/database/logging.rb" line 38 in log_connection_yield 4 File "/usr/local/bundle/bundler/gems/sequel-0db9e0097eb3/lib/sequel/adapters/postgres.rb" line 146 in execute_query 5 File "/usr/local/bundle/bundler/gems/sequel-0db9e0097eb3/lib/sequel/adapters/postgres.rb" line 134 in block in execute 6 File "/usr/local/bundle/bundler/gems/sequel-0db9e0097eb3/lib/sequel/adapters/postgres.rb" line 110 in check_disconnect_errors 7 File "/usr/local/bundle/bundler/gems/sequel-0db9e0097eb3/lib/sequel/adapters/postgres.rb" line 134 in execute 8 File "/usr/local/bundle/bundler/gems/sequel-0db9e0097eb3/lib/sequel/adapters/postgres.rb" line 478 in _execute 9 File "/usr/local/bundle/bundler/gems/sequel-0db9e0097eb3/lib/sequel/adapters/postgres.rb" line 296 in block (2 levels) in execute 10 File "/usr/local/bundle/bundler/gems/sequel-0db9e0097eb3/lib/sequel/adapters/postgres.rb" line 500 in check_database_errors 11 File "/usr/local/bundle/bundler/gems/sequel-0db9e0097eb3/lib/sequel/adapters/postgres.rb" line 296 in block in execute 12 File "/usr/local/bundle/bundler/gems/sequel-0db9e0097eb3/lib/sequel/database/connecting.rb" line 253 in block in synchronize 13 File "/usr/local/bundle/bundler/gems/sequel-0db9e0097eb3/lib/sequel/connection_pool/sharded_threaded.rb" line 128 in hold 14 File "/usr/local/bundle/bundler/gems/sequel-0db9e0097eb3/lib/sequel/database/connecting.rb" line 253 in synchronize 15 File "/usr/local/bundle/bundler/gems/sequel-0db9e0097eb3/lib/sequel/adapters/postgres.rb" line 296 in execute 16 File "/usr/local/bundle/bundler/gems/sequel-0db9e0097eb3/lib/sequel/dataset/actions.rb" line 1082 in execute On Thursday, May 10, 2018 at 3:17:48 PM UTC-7, [email protected] wrote: > > Having trouble pulling master doing this: > > gem 'sequel', git: 'https://github.com/jeremyevans/sequel.git', branch: > 'master', ref: '0db9e0097eb3b198a149f750dbef22328bc2e73a' > > I haven't updated a ruby gem to not a specific version in awhile let me > know if you know of the top of your head. > > On Thursday, May 10, 2018 at 3:13:17 PM UTC-7, [email protected] wrote: >> >> Great! Updating now, will update you in the next hour/hour and a half. >> >> On Thursday, May 10, 2018 at 2:44:38 PM UTC-7, Jeremy Evans wrote: >>> >>> On Thursday, May 10, 2018 at 1:43:33 PM UTC-7, Jeremy Evans wrote: >>>> >>>> On Thursday, May 10, 2018 at 12:51:23 PM UTC-7, [email protected] >>>> wrote: >>>>> >>>>> Awesome, we just upgraded to the latest version of Sequel, pretty >>>>> seamless upgrade :) . Let us know if you have any updates on your end. >>>>> >>>> >>>> That's great to hear that your upgrade was easy. >>>> >>>> I've got the fix all prepared, I'm just doing some final testing now. >>>> I've decided to modify the threaded connection pools so that >>>> disconnect_connection is never called while holding the connection pool >>>> mutex. Previously, it could be called both while holding the mutex and >>>> while not holding it. However, there is a chance that >>>> disconnect_connection could block, so it's better if it is never called >>>> while holding the mutex. Making that change fixed the recursive locking >>>> issue, so a separate mutex inside the connection_validator and >>>> connection_expiration extensions is not needed. >>>> >>> >>> OK, commit pushed to master, please test and let me know whether this >>> fixes the issue: >>> https://github.com/jeremyevans/sequel/commit/0db9e0097eb3b198a149f750dbef22328bc2e73a >>> >>> Thanks, >>> Jeremy >>> >> -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
