delightful-sugar-63810
06/21/2022, 2:50 PMELASTICSEARCH_INDEX_BUILDER_NUM_RETRIES
. I cannot see any change in behaviour even if I change the value of it. Can it be because this space here?
This environment variable lets you to adjust how much GMS will wait for the validation of reindexing tasks it triggers on ES on Datahub version upgrades. (See flow: 1 -> 2 -> 3)
We are passing this variable as we pass others on helm, from extra env vars. I can validate that it is passed to the container by describing the deployment on kubernetes.
Still, we cannot observe the effect of it on the pod. I have tried to investigate the issue and see if I'm doing something silly but it seems like I'm not 😬. There is one possible cause which is an extra space in the yaml file when reading the env var to the application.yml file in here, but I couldn't reproduce the same behaviour of using the default value with this space added in my local on a different project. There is nothing online for the behaviour of spring in case of such usage of its variable substitution with additional space.
Can you also take a look? I know it is a very loose question but we are kind of stuck now 😄 Should I just open a pr? Am I doing something totally wrong? Can there be an spring bean initialization issue causing @Value
to not work(I'm so far away from spring ecosystem)echoing-airport-49548
06/21/2022, 6:59 PMechoing-airport-49548
06/21/2022, 7:00 PMdelightful-sugar-63810
06/21/2022, 7:03 PMdelightful-sugar-63810
06/21/2022, 7:22 PMechoing-airport-49548
06/21/2022, 9:54 PMechoing-airport-49548
06/21/2022, 9:57 PMdelightful-sugar-63810
06/22/2022, 9:30 AMELASTICSEARCH_INDEX_BUILDER_NUM_RETRIES
, I can say that it extends the waiting period in seconds when datahub checks if the reindex is successful while doing es index migrations between datahubs version changes. This variable needs to be altered if you use your elastic search with a refresh_interval
greater than 3 seconds(1 second is its default, see its doc in here)