You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/index.php/Speciaal:GegevensBekijken/Projecten Wikimedia\Rdbms\DBQueryError: Error 1146: Table 'db.semantic_drilldown_values' doesn't exist
Function: Wikimedia\Rdbms\DBConnRef::query
Query: SELECT COUNT(DISTINCT sdv.id) FROM semantic_drilldown_values sdv
JOIN `wiki_smw_fpt_inst` inst
ON sdv.id = inst.s_id
WHERE inst.o_id IN
(SELECT MIN(smw_id) FROM `wiki_smw_object_ids`
WHERE smw_namespace = 14 AND (smw_title = 'Actieve_salesfunnel' ))
When trying to use special:BrowseData, i got this error.
when looking in the code i see that this is a temporary table that gets created on the DB_PRIMARY. but then when trying to read values from the temp table the code uses the DB_REPLICA. it seems the case when im on my cluster of DB's that only the master DB has the temp table but my replica doesn't so i get this exception.
the fix seems quite simple.
when using the temporary table just always try and use the DB_PRIMARY to read from it
The text was updated successfully, but these errors were encountered:
When trying to use special:BrowseData, i got this error.
when looking in the code i see that this is a temporary table that gets created on the DB_PRIMARY. but then when trying to read values from the temp table the code uses the DB_REPLICA. it seems the case when im on my cluster of DB's that only the master DB has the temp table but my replica doesn't so i get this exception.
the fix seems quite simple.
when using the temporary table just always try and use the DB_PRIMARY to read from it
The text was updated successfully, but these errors were encountered: