Details
-
Bug
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
CP: sprint 90
-
2
-
Core: Platform
-
Q2 2020
Description
mikhail.fokanov oleksii-popov this ticket is created to track the work Mikhail is doing on bugfest with sduvvuri
cboerema charlotte marcjohnson
Problem
We are seeing imprecise hitcounts reported after upgrading Bugfest from MIS used for Fameflower to the latest MIS snapshot using RMB 30 (which included the harmonisation of hit count between Instance records sorted by title). Most hitcounts are reported as ~37000.
Analyis from Mikhail
I found out that the instance table wan't analysed due to some error during the deployment of the new version of inventory.
Manually running of:
ANALYZE fs09000000_mod_inventory_storage.instance;
fixes the problem.
But VACUUM with ANALYZE was failing (possibly due to timeout).
But just ANALYZE query is pretty fast, so it completed.
So, as far as I can see, the root cause is that because of changes which was implemented in scope of RMB-583 during the deployment there is a migration which involves REINDEX and ANALYZE but due to timeout of this procedures the database wasn't completely migrated, but stuck in the kind of inconsistent state and therefore counters are not accurate.
Documentation:
TestRail: Results
Attachments
Issue Links
- has to be done before
-
MODINVSTOR-504 Release mod-inventory-storage 19.2.0
-
- Closed
-
- is blocked by
-
RMB-637 Run ANALYZE after index (re-)creation
-
- Closed
-
- relates to
-
MODINVSTOR-511 Create 19.2.0-SNAPSHOT-4e7cbbb with tenant_x.f_unaccent (RMB-583) reverted
-
- Closed
-
-
MODINVSTOR-514 Migrating from Fameflower to Goldenrod takes hours
-
- Closed
-
-
RMB-591 remove or harmonize 'optimizedSql' execution path
-
- Closed
-
-
RMB-638 Revert PgUtil.streamGet parameter reordering
-
- Closed
-
-
RMB-644 implement generic sort optimization
-
- Blocked
-
-
RMB-583 Move f_unaccent and concat* from public to schema, fix search_path
-
- Closed
-
-
RMB-633 Check DB_CONNECTIONRELEASEDELAY for normal ops and upgrades
-
- Closed
-