Slowly dialing in the art of making dangerous internal utilities have ominous log messages that are designed to make future Ben scared of using them
jeroen@secluded.ch
replied 28 Sep 2025 19:31 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/KhBL511nY9J3Y7S1ZT
@benjojo make it 42 seconds unless one adds the -supercow-commands-you-so option and maybe show a part of the things that are going to be cleaned up. Another trick is to have a "deleted" version of the tables and move entries there and expire that table after a day/week or so in case one want to move stuff back; though with mysql and that data size might not be very optimal ;)
benjojo
replied 28 Sep 2025 20:56 +0000
in reply to: https://secluded.ch/users/jeroen/statuses/115283585508723015
@jeroen ah yes but in this case it's actually removing data out of ceph/S3, so the problem is not so much the MySQL (that's "just" a tracking table), it's more that there are basically no creds in the system that have the ability to delete files, so it's always scary to create creds that can do a delete operation
sophie@chaos.social
replied 28 Sep 2025 18:02 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/KhBL511nY9J3Y7S1ZT
doti@pl.catboyindust..
replied 28 Sep 2025 18:10 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/KhBL511nY9J3Y7S1ZT