Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-4165

Too Many attempts to update config error...

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.0.0
    • Component/s: None
    • None
    • Environment:
      Sharded mongod cluster. Consists of 2 shards. Each shard consists of 3 server replica set. we have 2x mongos process running on 2 seperate servers.
    • ALL

      Running a sharded cluster, consisting of 2 shards. We are using 2 mongos processes.

      MONGO ACCESS PROFILE:
      We start a job that runs for about an hour and half and makes a lot of reads to mongo (no writes). reads are of the order a several thousand per seconds). I observe that the errors occur at the beginning of the job rather than being spread over the entire time period that the job runs

      We are running 2x mongos processes. I'm seeing errors like the following:

      ERRORS

      2011-10-27 18:30:26,133 [btp-5] ERROR com.gilt.service.user.recommendation.SaleRecommendationHandlerDefault - error getting recs for userguid: e1e3b450-3491-012c-c778-0015177451fa
      com.mongodb.MongoException: too many attempts to update config, failing
      at com.mongodb.MongoException.parse(MongoException.java:82)
      at com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:303)
      at com.mongodb.DBCursor._check(DBCursor.java:356)
      at com.mongodb.DBCursor._hasNext(DBCursor.java:486)
      at com.mongodb.DBCursor.hasNext(DBCursor.java:511)
      at com.gilt.algo.commons.data.dao.mongo.UserBrandActivityDao.getBrandActivityProfileAsList(UserBrandActivityDao.java:71)
      at com.gilt.service.user.recommendation.service.UserProfileServiceImpl.loadProfile(UserProfileServiceImpl.java:61)
      at com.gilt.service.user.recommendation.service.UserProfileServiceImpl.getProfile(UserProfileServiceImpl.java:41)
      at com.gilt.service.user.recommendation.service.SaleRecommendationServiceImpl.salesByBrands(SaleRecommendationServiceImpl.java:51)
      at com.gilt.service.user.recommendation.SaleRecommendationHandlerDe
      

            Assignee:
            greg_10gen Greg Studer
            Reporter:
            mosterhaus@gilt.com Matthew Osterhaus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: