{"id":986,"date":"2026-04-06T12:00:41","date_gmt":"2026-04-06T16:00:41","guid":{"rendered":"http:\/\/stephendavies.org\/cpsc350\/?p=986"},"modified":"2026-04-06T12:00:41","modified_gmt":"2026-04-06T16:00:41","slug":"old-stuff-in-your-redis-instance","status":"publish","type":"post","link":"http:\/\/stephendavies.org\/cpsc350\/?p=986","title":{"rendered":"Old stuff in your Redis instance"},"content":{"rendered":"<p>If you see a bunch of old stuff in your Redis instance that you don&#8217;t recognize, it&#8217;s probably from whichever student had that instance number last semester, and they didn&#8217;t empty their trash before they left that course.<\/p>\n<p>Basically: nuke it. You can either systematically <tt>DEL<\/tt> the stuff you see when you do <tt>KEYS *<\/tt>, or, as a heavier hammer, do the <tt>FLUSHDB<\/tt> command. <span style=\"color:red;font-weight:bold;\">Realize that the <tt>FLUSHDB<\/tt> command will irreversibly nuke everything in your current instance, so triple-check that (1) you&#8217;re on the correct instance and (2) you really do want to nuke all the stuff.<\/span> Lmk if you have any questions or doubts.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you see a bunch of old stuff in your Redis instance that you don&#8217;t recognize, it&#8217;s probably from whichever student had that instance number last semester, and they didn&#8217;t empty their trash before they left that course. Basically: nuke it. You can either systematically DEL the stuff you see when you do KEYS *, [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[1],"tags":[],"class_list":["post-986","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/stephendavies.org\/cpsc350\/index.php?rest_route=\/wp\/v2\/posts\/986","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/stephendavies.org\/cpsc350\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/stephendavies.org\/cpsc350\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/stephendavies.org\/cpsc350\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/stephendavies.org\/cpsc350\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=986"}],"version-history":[{"count":1,"href":"http:\/\/stephendavies.org\/cpsc350\/index.php?rest_route=\/wp\/v2\/posts\/986\/revisions"}],"predecessor-version":[{"id":987,"href":"http:\/\/stephendavies.org\/cpsc350\/index.php?rest_route=\/wp\/v2\/posts\/986\/revisions\/987"}],"wp:attachment":[{"href":"http:\/\/stephendavies.org\/cpsc350\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=986"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/stephendavies.org\/cpsc350\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=986"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/stephendavies.org\/cpsc350\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=986"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}