data.gov icon indicating copy to clipboard operation
data.gov copied to clipboard

Fork CKAN core for the solr-down-200-code fix

Open FuhuXia opened this issue 1 year ago • 3 comments

This following bug in CKAN core has been a pain for us given our solr periodically restarts a few times a week.

  • https://github.com/ckan/ckan/issues/8002

Now it is fixed and merged into CKAN master branch, we want to cherry-pick this change now.

  • https://github.com/ckan/ckan/pull/8094

Sketch

  • Cherry-pick this change into ckan-2.10.4
  • Verify the fix
  • Create a ckan-2-10-4-fix branch on GSA CKAN
  • point ckan package in the catalog repo to the forked branch in the requirement.in

FuhuXia avatar Apr 19 '24 17:04 FuhuXia

The change will be included in CKAN 2.10.5. Waiting for it.

FuhuXia avatar May 02 '24 14:05 FuhuXia

@FuhuXia, should we move this from blocked to in progress, or are we still blocked on CKAN for adding a fix to our fork?

gujral-rei avatar May 20 '24 15:05 gujral-rei

Let us fix it using our fork. Don't want to wait any longer.

FuhuXia avatar May 20 '24 16:05 FuhuXia

Catalog and inventory are on patched CKAN core. No more need to clear cloudfront cache on solr restart.

FuhuXia avatar May 29 '24 14:05 FuhuXia

obviously we missed some edge cases that solr down still returns 200 code and it is cached by cloudfront.

reopen.

FuhuXia avatar Jul 12 '24 18:07 FuhuXia

Fix deployed and verified. Getting 500 and 502 code during SOLR restarting.

FuhuXia avatar Sep 03 '24 16:09 FuhuXia