61

I posted an answer to this question yesterday. Today I discovered that my answer had an unintended side-effect and went back to delete it again.

Color me surprised when I did not see the post in the question, not even as a deleted post. Even stranger, I can actually find the post back when I search for it. Not just once, three times. A screen shot from the search results I got:

enter image description here

Note how the post appears three times. The URLs for them are:

Something's very wrong.

7
  • 2
    Maybe you can add the search query to help reproduce this bug: stackoverflow.com/…. By the way, yeah, I can see them on search result, but not on the question...
    – Andrew T.
    Commented Apr 22, 2014 at 5:16
  • 4
    The system panicked when it detected that you had entered an answer with a side-effect, and tried to hide the answer under the carpet? Commented Apr 22, 2014 at 9:46
  • 10
    I'm dying to know... what "is, frankly, a pita"!? It's not often bread gets mentioned in the same breath as Visual Studio.
    – Ben
    Commented Apr 22, 2014 at 10:31
  • 10
    A Pain In The Ass. Commented Apr 22, 2014 at 10:39
  • 1
    The post IDs for the first two are not the same. One ends in 459, the other in 349. Also, trying to use the short link (stackoverflow.com/a/ID) for each fails, adding to the fact that these posts do not exist.
    – ughoavgfhw
    Commented Apr 22, 2014 at 19:02
  • 1
    Have you figured anything out?
    – That1Guy
    Commented Oct 31, 2014 at 19:44
  • 3
    I haven't. Seems five SO users don't know what a bug report looks like so it can't be that important. Commented Jan 7, 2016 at 18:48

2 Answers 2

4

I didn't see this question, but what happened was a consequence of how we handle SQL interactions between SQL Server and Elasticsearch.

Since we perform a READ UNCOMMITTED translation isolation level request to SQL when indexing, we can witness posts not quite finished submitting yet (and indeed, these deadlocked and timed out). We don't want to do a serializable read here due to performance and locking but...we have read-only replicas in New York available due to our use of AlwaysOn Availability Groups for high availability, so we can work around the issue. By preferring to read from the replica, we only get posts that fully committed and we side-steps the inherent downsides of the lockless approach by basically cheating.

TL;DR: This was resolved a long time ago, and you shouldn't see it happen anymore :)

17

Late answer, but I only yesterday saw this question and decided to do some digging. Now that this question is reopened I'll post my comment as an answer.

Your posts have or had the IDs 23182459, 23182349 and 23182297. Some quick binary searching using the URL https://stackoverflow.com/posts/$ID/edit pointed out that there are no posts with an ID between 23182009 and 23182567, or a gap of roughly 560 posts.

All posts made between 2014-04-20 12:32:03 and 2014-04-20 12:51:16 (Zulu time) seem to have disappeared, see also the IDs and dates for the top two posts in this search query for that date (23182568 has been soft-deleted).

Given the search database contains a copy of all posts, it looks like a botched restore or failover of the main database, where someone tried to restore the posts but gave up after a few attempts.

I hope this gives you some peace of mind!

I cannot find any outage data for that date. Perhaps some employee from Stack Overflow remembers what happened?

You must log in to answer this question.

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