From what I know the database should never be hit from the category page or PLP.
However, I have found a trail that is doing exactly that !
DefaultCategoryService#getCategoryForCodeCommerceCategoryFacetDisplayNameProvider.java:158CommerceCategoryFacetDisplayNameProvider.java:87SearchResponseBreadcrumbsPopulator.java:74commerceSolrSearchResponseConverterDefaultSolrProductSearchService
How is this even possible?This is causing the error of missing categories.