Skip to content

versionpurge job getting Job Queue stuck. #1365

@cemusta

Description

@cemusta

Gentics Mesh Version, operating system, or hardware.

  • v1.8.2

Operating System

  • Linux, mesh instance dockerized

Problem

  • There are some version purge jobs in the list. When we re-queue these jobs, the cms instance starts a deadlock. This deadlock makes the instance stop responding to API calls.

  • When we restart the instance, that job is still in the queue (not failed). if re-queue another job, the cms instance still takes the first version purge job ( 1st job in the queue ) instead. and the same process happens (deadlock and cms getting not responsive)

  • Because of this, all other jobs got stuck in the queue. We cannot make any schema changes. All schema migration jobs are in the job list and cannot be processed.

problematic job:

		{
			"uuid": "16eadf6a89a8486e9da27546ac854ee7",
			"created": "1970-01-01T00:00:00Z",
			"type": "versionpurge",
			"status": "QUEUED",
			"properties": {
			},
			"completionCount": 0,
			"warnings": [
			]
		}

Reproducer

  • reprocessing jobs via API re-produce the same problem.

Expected behaviour and actual behaviour.

  • Job should either fail or got completed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions