3

I'm not sure if this is related to the network wide bug Questions with ended bounties are not being removed from the "featured" tab, but my former bounty question What was Nintendo's Software Development Environment for NES Games? is still visible in the featured tab for me.

Bounty Question

Is this intentional or a bug?

  • 1
    I originally thought it was cache-related, but as it appears for other people it might be a faulty cron job. – wizzwizz4 Aug 19 '16 at 9:30
4

Thanks; there was a bug on the "tag engine" (the backend system that deals with this stuff) that failed to update the "count" of an index when that index was being reduced to zero (it is fine when reducing in general - just the zero case is the problem). This meant it was happily reporting data that it knew wasn't "featured" (or whatevever) any more. Essentially (not the actual code!):

// rebuild a filtered+sorted index...
int matches = workspace.ApplyFilter();
if(matches == 0) {
     // nothing to do
} else {
    workspace.ApplySort();
    index.UpdateCountAndCopyFromWorkspace(matches , workspace);
}

In the zero case, it would never actually mark the index as being empty (the "nothing to do" was wrong - it should still have updated the count). Entirely my fault. A permanent fix for this will deploy today.

  • Thanks! Is this a network-wide issue, or just an issue on retroconputing? – JAL Aug 22 '16 at 13:34
  • 3
    @JAL it was everywhere, but it would only be observed if there was a site with an index that was changing from non-empty to empty, most commonly because the last "featured" question expired or was awarded. That means we wouldn't expect to see it on sites like stackoverflow, because that just would never happen – Marc Gravell Aug 22 '16 at 15:04
  • Thanks Marc for your detailed answer! – JAL Aug 22 '16 at 15:07
  • 1
    You missed the MSE bug report about it. Unless it's not the same thing? – Shadow Wizard Aug 22 '16 at 17:44
  • 1
    @ShadowWizard ta; JAL found it for me :) – Marc Gravell Aug 22 '16 at 19:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .