8

When looking at this question you can see a big amount of useless text, however when you try to edit the question the text is gone. Screens to show what I mean:

The question: enter image description here

On edit: enter image description here

So my question is: Why does it show the text in the question but when editing the text is gone? Is this a bug?

8
  • The wall of text recognises the shame heaped upon it, and is self-censoring as best it can. Commented Apr 4, 2014 at 9:18
  • I can reproduce, also; wierd! Commented Apr 4, 2014 at 9:28
  • 1
    It's caching! I think. It was added in revision 2, but removed in revision 4. Somehow, the question isn't showing the correct revision.
    – user247702
    Commented Apr 4, 2014 at 9:31
  • 1
    Mega edit conflict in its worst. (Looks like an edit was approved in the same instant the OP sent edit of his own) Commented Apr 4, 2014 at 9:35
  • 4
    status-completed ;) Commented Apr 4, 2014 at 9:36
  • @Shadow As far as I can see the wall of text has now been edited in officially Commented Apr 4, 2014 at 9:38
  • I guess we'll have a better idea when we can look it up in the Data Explorer. Commented Apr 4, 2014 at 9:40
  • @Richard true, I suspect some super-ubber-rare race condition caused what we saw and doubt it can be reproduced. Normally, edit by OP will auto reject suggested edit, but it was approved in the same second. Guess it can be solved by adding locks or transactions in the code/SQL but as it's one to million chance and solveable by simple edit, not sure it's worth the time. :) Commented Apr 4, 2014 at 9:40

1 Answer 1

2

I looked into this as a test-case for a different bug, so figured I'd drop a note on what happened for posterity.

  • The asker started an edit to add more information to the question. And while they were editing...
  • Someone suggested an edit to add a tag.
  • Then the suggested edit was approved via the Improve function which made various corrections to the post body, thus generating a third revision.
  • The Improved suggested edit was received by the servers roughly 24ms after receiving the asker's edit and roughly 1 minute 24 seconds after the question was originally posted.
  • The suggested edit revision and Improved revision were recorded first, thus making the asker's edit ineligible for the grace period, so a separate revision was generated for it instead of rolling it into the initial revision.
  • Because the asker's edit was received first, it got a slightly earlier timestamp and became revision #2.
  • Because the asker's edit was the last to finish processing, the rendered post contained the body of that edit, with the tags from the suggested edit, and none of the corrections made by the Improve edit.
3
  • There's a difference between "recorded" and "recieved"?
    – user4639281
    Commented Jun 8, 2018 at 23:21
  • I'm being a bit sloppy here, @Tiny... But for the purpose of this answer, "received" is when the request started being processed (timestamp fixed, code route established), "recorded" is when the actual PostHistory records are live in the database, and "finish processing" is when everything involved in an edit is done (post re-rendered & updated with cached body HTML, last editor, last modified date, etc., updates sent, request response sent back to the client).
    – Shog9 Mod
    Commented Jun 8, 2018 at 23:24
  • In other words, magic happens.
    – Braiam
    Commented Jun 9, 2018 at 4:00

You must log in to answer this question.

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