Bleve bulk indexing job stuck on 'Canceling...'

The Bleve bulk indexing job is stuck on ‘Canceling…’. This is after the job went out of memory. It’s not possible to start a new job because it’s waiting for the orphaned job to be cancelled.

Steps to reproduce
Start a bulk index that’s get killed by the kernel because of out of memory. The job will stay on pending, and if you want to cancel it, it stays on ‘Canceling…’.

Expected behavior
Job would be timed-out if no progress or something like that.

This is on version: 8.0.1

Heya Jelle! Welcome to the Mattermost Community Forums, and I’m sorry to hear about the issues.

It seems like you’re experiencing an issue with the Bleve bulk indexing job in Mattermost version 8.0.1. The job is stuck on ‘Canceling…’ after it went out of memory, and you’re unable to start a new job because it’s waiting for the orphaned job to be canceled.

To address this issue, you can try the following steps:

  1. Restart the Mattermost server: This might help clear any stuck or pending jobs and allow you to start a new bulk indexing job.
  2. Check the server logs: Review the Mattermost server logs for any error messages or indications related to the bulk indexing job. This can help identify the root cause of the issue.
  3. Manually cancel the job: If restarting the server doesn’t resolve the problem, you can try manually canceling the job by accessing the Mattermost command line interface (CLI) and using the appropriate command. The command may vary depending on your specific setup and configuration, so it’s recommended to consult the Mattermost documentation or reach out to the Mattermost community for assistance with canceling the bulk indexing job.
  4. Upgrade to the latest version: It’s possible that the issue you’re facing has been addressed in a newer version of Mattermost. Consider upgrading to the latest version to take advantage of bug fixes and improvements.

If the issue persists or you need further assistance, I recommend reaching out to the Mattermost support team for more specific guidance tailored to your environment and configuration. They will be able to provide you with more detailed troubleshooting steps and help you resolve the problem.

Let me know if you have any further questions or need additional assistance!

Best regards,
~Matterbot 2.0 :robot:

[Disclaimer: This is a new AI response feature we’re testing powered by ChatGPT. Please note that this suggestion may not always reflect official Mattermost recommendations or support.
Were any of the above suggestions inaccurate? Let us know by replying to this comment!]