• Type: Icon: Task Task
    • Resolution: Done
    • 3.1.5
    • Affects Version/s: None
    • Component/s: None
    • None

      From NewRelic

      Error message
      LocalJumpError: unexpected return
      
      Stack trace (hide Rails)
      …d/bundle/ruby/2.0.0/gems/moped-1.5.0/lib/moped/node.rb:  97:in `block in command'
      …d/bundle/ruby/2.0.0/gems/moped-1.5.0/lib/moped/node.rb: 587:in `[]'
      …d/bundle/ruby/2.0.0/gems/moped-1.5.0/lib/moped//shoto/shared/bundle/ruby/2.0.0/gems/moped-1.5.0/lib/moped/node.rbnode.rb: 587:in `block (3 levels) in flush'
      …d/bundle/ruby/2.0.0/gems/moped-1.5.0/lib/moped/node.rb: 586:in `map'
      …d/bundle/ruby/2.0.0/gems/moped-1.5.0/lib/moped/node.rb: 586:in `block (2 levels) in flush'
      …d/bundle/ruby/2.0.0/gems/moped-1.5.0/lib/moped/node.rb: 150:in `ensure_connected'
      …d/bundle/ruby/2.0.0/gems/moped-1.5.0/lib/moped/node.rb: 582:in `block in flush'
      …d/bundle/ruby/2.0.0/gems/moped-1.5.0/lib/moped/node.rb: 597:in `logging'
      …elic_moped-0.0.6/lib/newrelic_moped/instrumentation.rb:  38:in `block in logging_with_newrelic_trace'
      …elic_moped-0.0.6/lib/newrelic_moped/instrumentation.rb:  47:in `call'
      …elic_moped-0.0.6/lib/newrelic_moped/instrumentation.rb:  47:in `block in logging_with_newrelic_trace'
      …elic_moped-0.0.6/lib/newrelic_moped/instrumentation.rb:  44:in `logging_with_newrelic_trace'
      …d/bundle/ruby/2.0.0/gems/moped-1.5.0/lib/moped/node.rb: 581:in `flush'
      …d/bundle/ruby/2.0.0/gems/moped-1.5.0/lib/moped/node.rb: 313:in `pipeline'
      …by/2.0.0/gems/moped-1.5.0/lib/moped/session/context.rb:  58:in `block in insert'
      …by/2.0.0/gems/moped-1.5.0/lib/moped/session/context.rb: 109:in `block in with_node'
      …undle/ruby/2.0.0/gems/moped-1.5.0/lib/moped/cluster.rb: 209:in `block in with_primary'
      …d/bundle/ruby/2.0.0/gems/moped-1.5.0/lib/moped/node.rb: 195:in `ensure_primary'
      …undle/ruby/2.0.0/gems/moped-1.5.0/lib/moped/cluster.rb: 208:in `with_primary'
      …by/2.0.0/gems/moped-1.5.0/lib/moped/session/context.rb: 108:in `with_node'
      …by/2.0.0/gems/moped-1.5.0/lib/moped/session/context.rb:  56:in `insert'
      …le/ruby/2.0.0/gems/moped-1.5.0/lib/moped/collection.rb: 106:in `block in insert'
      

      config/mongoid.yml

      ---
      staging: 
        sessions: 
          default: 
            database: staging
            hosts: 
            - w-mongos.objectrocket.com:xxxx/database-name
            options: 
              safe: false
              consistency: :eventual
              max_retries: 30
              retry_interval: 1
            username: the_username
            password: the_password
        options: 
          identity_map_enabled: true
          include_root_in_json: false
          include_type_for_serialization: false
          preload_models: false
          raise_not_found_error: true
          scope_overwrite_exception: false
          use_activesupport_time_zone: true
          use_utc: false
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            bnorton bnorton
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: