David Glasser
e042e5a85a
Fix "drop collection" test failure
...
There was a race condition in the manipulation of the write fence by the
drop collection code. Specifically, when seeing a "drop collection"
oplog entry, OplogObserveDriver took no immediate action and instead
deferred some "should I re-poll now or later?" logic.
This allowed the write fence's oplogHandle.waitUntilCaughtUp code to
think that everything was "caught up" even though the effects of the
"drop collection" entry had not yet affected the cursor's state (by
transitioning it away from the STEADY state). The fix is to ensure that
the state-change aspects of processing the entry occur immediately; the
actual re-query is still deferred in order to not block the oplog tailer
from continuing.
Reported by: @awwx
(The previous failure can made consistently reproducible by replacing the
`Meteor.defer` that is removed by this commit with a
`Meteor.setTimeout(,200)`.)
2013-12-16 17:42:51 -08:00
..
2013-12-05 13:14:11 -08:00
2013-07-25 18:54:42 -07:00
2013-07-25 18:54:42 -07:00
2013-07-25 18:54:42 -07:00
2013-07-25 18:54:42 -07:00
2013-07-26 19:38:44 -07:00
2013-05-17 18:00:35 -07:00
2013-05-17 18:00:35 -07:00
2013-05-21 15:19:01 -07:00
2013-12-15 17:17:33 -08:00
2013-07-30 15:37:06 -07:00
2013-10-08 20:03:02 -07:00
2013-11-11 18:15:52 -08:00
2013-07-25 18:54:42 -07:00
2013-08-26 19:28:25 -07:00
2013-12-06 14:10:19 -08:00
2013-12-03 15:01:37 -08:00
2013-07-25 18:54:41 -07:00
2013-07-25 18:54:42 -07:00
2013-12-15 17:17:17 -08:00
2013-07-25 18:54:43 -07:00
2013-05-13 10:57:37 -07:00
2013-10-09 12:00:23 -07:00
2013-10-03 13:56:03 -07:00
2013-10-09 12:00:23 -07:00
2013-10-03 13:56:03 -07:00
2013-08-12 23:31:26 -07:00
2013-05-13 10:57:37 -07:00
2013-09-12 14:29:50 -07:00
2013-07-25 18:54:43 -07:00
2013-11-01 09:57:41 -07:00
2013-11-01 09:57:41 -07:00
2013-10-08 20:03:02 -07:00
2013-10-23 09:47:32 -07:00
2013-07-25 18:54:43 -07:00
2013-12-04 12:46:47 -08:00
2013-07-25 18:54:43 -07:00
2013-10-03 15:52:20 -07:00
2013-12-03 14:49:38 -08:00
2013-08-06 11:37:05 -07:00
2013-12-15 19:40:57 -08:00
2013-12-04 22:05:28 -08:00
2013-07-29 11:35:25 -07:00
2013-10-07 16:07:45 -07:00
2013-08-06 11:37:05 -07:00
2013-11-11 12:33:58 -08:00
2013-12-02 19:12:09 -08:00
2013-07-25 18:54:43 -07:00
2013-10-08 21:30:39 -07:00
2013-07-25 18:54:42 -07:00
2013-07-25 18:54:43 -07:00
2013-05-13 10:57:37 -07:00
2013-05-13 10:57:37 -07:00
2013-05-13 10:57:37 -07:00
2013-10-04 09:46:48 -07:00
2013-10-08 19:58:48 -07:00
2013-08-02 11:19:08 -07:00
2013-07-25 18:54:43 -07:00
2013-10-08 20:03:02 -07:00
2013-12-15 17:17:17 -08:00
2013-07-25 18:54:43 -07:00
2013-07-25 18:54:40 -07:00
2013-12-09 13:56:04 -08:00
2013-09-25 02:32:45 -07:00
2013-08-06 11:37:05 -07:00
2013-12-12 23:54:32 -08:00
2013-05-13 10:57:37 -07:00
2013-12-11 18:57:30 -08:00
2013-12-04 11:56:21 -08:00
2013-12-16 17:42:51 -08:00
2013-11-18 18:28:12 -08:00
2013-09-27 14:36:26 -07:00
2013-07-25 18:54:42 -07:00
2013-07-25 18:54:43 -07:00
2013-07-25 18:54:40 -07:00
2013-11-21 10:14:03 -08:00
2013-07-25 18:54:43 -07:00
2013-09-25 11:57:57 -07:00
2013-07-25 18:54:43 -07:00
2013-07-25 18:54:43 -07:00
2013-07-25 18:54:43 -07:00
2013-07-25 18:54:43 -07:00
2013-09-25 15:53:04 -07:00
2013-10-18 13:28:25 -07:00
2013-07-25 18:54:43 -07:00
2013-11-19 01:34:53 -08:00
2013-10-08 19:58:48 -07:00
2013-07-25 18:54:40 -07:00
2013-10-08 20:03:02 -07:00
2013-09-23 17:49:59 -07:00
2013-12-05 13:14:10 -08:00
2013-11-21 16:34:07 -08:00
2013-08-12 12:20:23 -07:00
2013-12-15 17:17:33 -08:00
2013-07-25 18:54:43 -07:00
2013-10-03 15:52:19 -07:00
2013-08-06 12:53:33 -07:00
2013-12-05 17:52:35 -08:00
2013-08-06 11:37:05 -07:00
2012-04-17 20:02:00 -07:00