Open mdorf opened 3 years ago
Wanted to add clarification here that the mapping counts generation job has been disabled in our production environment since late April, 2021. It wasn't immediately evident to me how to check this, so I'm documenting the steps here:
/srv/ncbo/ncbo_cron/config
There's a config file in this directory called config.rb
that overrides the enable_mapping_counts
configuration and disables the job:
begin
NcboCron.config do |config|
...
# disable mappings count; it makes 4store unsable in production
config.enable_mapping_counts = false
end
The above override takes precedence over this line of source code:
When running the mapping counts generation script (either via the scheduled CRON job or via the on-demand script) against production 4store instance, the run never fully completes. 4store crashes at random points during the execution. This behavior is NOT reproducible in the Staging environment. In Staging, the job completes in 5.5 hours.