Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-21734

Fix failure of Redis work done cleanup on duplicate job

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.10
    • Fix Version/s: 6.0-HF38, 7.10-HF23
    • Component/s: Redis

      Description

      After a while, the worker cleanup procedure (only present up to 7.10) fails with a jedis script error:

      2017-02-18 02:15:00,011 ERROR [Quartz_Worker-1] [org.nuxeo.ecm.core.event.impl.EventServiceImpl] Exception during workManagerCleanup sync listener execution, continuing to run other listeners
      redis.clients.jedis.exceptions.JedisDataException: ERR Error running script (call to f_93fd9988640742e60c9d07117de1796d5cbb4561): @user_script:17: user_script:17: false is no a string
          at redis.clients.jedis.Protocol.processError(Protocol.java:117)
          at redis.clients.jedis.Protocol.process(Protocol.java:142)
          at redis.clients.jedis.Protocol.read(Protocol.java:196)
          at redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:288)
          at redis.clients.jedis.Connection.getOne(Connection.java:270)
          at redis.clients.jedis.Jedis.getEvalResult(Jedis.java:2642)
          at redis.clients.jedis.Jedis.evalsha(Jedis.java:2668)
          at redis.clients.jedis.Jedis.evalsha(Jedis.java:2662)
          at org.nuxeo.ecm.core.redis.contribs.RedisWorkQueuing$14.call(RedisWorkQueuing.java:900)
          at org.nuxeo.ecm.core.redis.contribs.RedisWorkQueuing$14.call(RedisWorkQueuing.java:880)
          at org.nuxeo.ecm.core.redis.RedisPoolExecutor.execute(RedisPoolExecutor.java:47)
          at org.nuxeo.ecm.core.redis.RedisFailoverExecutor$1.retry(RedisFailoverExecutor.java:39)
          at org.nuxeo.ecm.core.redis.retry.Retry.retry(Retry.java:54)
          at org.nuxeo.ecm.core.redis.RedisFailoverExecutor.execute(RedisFailoverExecutor.java:34)
          at org.nuxeo.ecm.core.redis.contribs.RedisWorkQueuing.removeCompletedWork(RedisWorkQueuing.java:880)
          at org.nuxeo.ecm.core.redis.contribs.RedisWorkQueuing.clearCompletedWork(RedisWorkQueuing.java:375)
          at org.nuxeo.ecm.core.work.WorkManagerImpl.cleanup(WorkManagerImpl.java:930)
          at org.nuxeo.ecm.core.work.WorkManagerCleanupListener.handleEvent(WorkManagerCleanupListener.java:35)
          at org.nuxeo.ecm.core.event.impl.EventServiceImpl.fireEvent(EventServiceImpl.java:191)
          at org.nuxeo.ecm.core.scheduler.EventJob.execute(EventJob.java:117)
          at org.nuxeo.ecm.core.scheduler.EventJob.execute(EventJob.java:63)
          at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
          at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h