Closed matt-yml closed 1 year ago
Could also be the drive controller asic, as one is realtek and the other is jmicron.
controller okay. needed a new 100% drive. will see how this handles after slh tonight and new spawn points from asheville.
will close if both are okay.
spawn points have significantly changed in Asheville.
this was the last area to be scanned before the migration, but hasn't been regularly scanned since.
will need to do blank scanning of all areas, remove spawn points that don't meet 'last seen criteria'.
looks good. no further issues.
issue still happens during slh and cd. looks like people with large databases are seeing this too. https://discord.com/channels/456432530531549195/496313484112560128/1058072378673999902
triggers apparently lock the table for too long and the db can't keep up.
per @fabio advice dropping those triggers since they're only for the stats table. https://discord.com/channels/456432530531549195/496313484112560128/1059496576453718096
there's an existing pr to rework how stats are gathered and to lower the impact. https://github.com/RealDeviceMap/RealDeviceMap/issues/439
have run this to drop the triggers and exported the triggers as a sql file on rdmdb01.
\\len01\deve\pk\volumes\rdmdb\disabled_trigs.sql
DROP TRIGGER rdmdb.pokemon_inserted;
DROP TRIGGER rdmdb.pokemon_updated;
triggers dropped and will test during the 3jan slh.
success!!! set mariadb sql events to turn off triggers before slh. will see about scheduling for cds.
still need to write sql to add them back in so the stats table is consistent. best match so far: https://github.com/RealDeviceMap/RealDeviceMap/blob/development/resources/migrations/71.sql
Works swimmingly for CD. Will open a lower level issue for db trigger restores until pr from upstream.
this was perturbed by the ssd failure, and may have been the root cause. related to: https://github.com/mattlesnake/gore/issues/439 https://github.com/mattlesnake/pk/issues/52
after the new ssd still getting errors
looking into a configuration issue of the scanner or db.