Problem with ES


My Sonarqube is installed as a docker Swarm

When disk space is less than 90% I get errors in projects:

java.lang.IllegalStateException: Unrecoverable indexation failures: 1 errors among 1 requests

How can i change this option into container?

full output:

java.lang.IllegalStateException: Unrecoverable indexation failures: 1 errors among 1 requests
	at org.sonar.server.measure.index.ProjectMeasuresIndexer.doIndex(
	at org.sonar.server.measure.index.ProjectMeasuresIndexer.indexOnAnalysis(
	at org.sonar.ce.task.projectanalysis.step.IndexAnalysisStep.execute(
	at org.sonar.ce.task.step.ComputationStepExecutor.executeStep(
	at org.sonar.ce.task.step.ComputationStepExecutor.executeSteps(
	at org.sonar.ce.task.step.ComputationStepExecutor.execute(
	at org.sonar.ce.task.projectanalysis.taskprocessor.ReportTaskProcessor.process(
	at org.sonar.ce.taskprocessor.CeWorkerImpl$ExecuteTask.executeTask(
	at org.sonar.ce.taskprocessor.CeWorkerImpl$
	at org.sonar.ce.taskprocessor.CeWorkerImpl.findAndProcessTask(
	at org.sonar.ce.taskprocessor.CeWorkerImpl$TrackRunningState.get(
	at java.base/java.util.concurrent.Executors$ Source)
	at java.base/ Source)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$ Source)
	at java.base/ Source)

Hi @cryptoparty ,

can you share your es.log file and clarify exactly when you are getting this issue?

this error is expected if the used disk space is over 90% of the available storage as a precaution. as this is a elasticsearch setting, you can change it using this reference from elastic and add the additional configuration to the property or via the representing environment variable.

That was my question, can I do this without changing the config inside the volume? Through curl?

I think this is not possible within ES. they do provide a REST API and you should be able to work with it from within the container (es binds to localhost inside the container), but i think these properties are not changeable via this API

Thanks u anyway for feedback!