Extension:MirrorTools/mb cursor table

The mb_cursor table contains data about where the MirrorPullBot and MirrorPushBot should continue.

mbc_id
Primary key

mbc_key
Key (e.g. rccontinue, to indicate the cursor for API:Recentchanges). None is needed for -qrev mode, because in that case, the pullbot simply searches for a row with empty mbq_text_id.

Can also be mirrorpageundelete-needrevids-rvcontinue or mirrorpageundelete-needrevs-rvcontinue.

mbc_value
Value. In the case of an rccontinue key, the first character will be a 'Y' or an 'N'. A 'Y' indicates that the first recentchange pulled the next time around should be ignored, since it was already inserted last time. An 'N' indicates that it should not be ignored. This is actually kinda dumb design, because it would have been simpler to have just set it up to not insert the last recentchange the first time around, and leave it for the next time, in those instances. The format is xyyyymmddhhmmss|revid.

In the case of an rvcontinue key, it will either be blank (for starting at the beginning) or contain just the timestamp.

mbc_misc
The mbq_rc_id for mirrorpageundelete situations.