Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with latest Meteor versions & oplog converter #726

Open
arggh opened this issue Nov 29, 2022 · 0 comments
Open

Issues with latest Meteor versions & oplog converter #726

arggh opened this issue Nov 29, 2022 · 0 comments

Comments

@arggh
Copy link
Contributor

arggh commented Nov 29, 2022

At least with Meteor versions 2.6.1 ... 2.8.1 the oplog converter will break with update operations formed/caused by Astronomy. Not exactly an issue of Astronomy, but I thought it might be worthwhile cross posting: meteor/meteor#12325

Errors such as

Error in oplog callback TypeError: Cannot read property 'a' of null
    at isArrayOperator (packages/mongo/oplog_v2_converter.js:46:19)
    at packages/mongo/oplog_v2_converter.js:91:11
    at Array.forEach (<anonymous>)
    at convertOplogDiff (packages/mongo/oplog_v2_converter.js:71:24)
    at packages/mongo/oplog_v2_converter.js:109:9
    at Array.forEach (<anonymous>)
    at convertOplogDiff (packages/mongo/oplog_v2_converter.js:71:24)
    at packages/mongo/oplog_v2_converter.js:109:9
    at Array.forEach (<anonymous>)
    at convertOplogDiff (packages/mongo/oplog_v2_converter.js:71:24)
    at oplogV2V1Converter (packages/mongo/oplog_v2_converter.js:122:3)
    at packages/mongo/oplog_observe_driver.js:607:16
    at Object.Meteor._noYieldsAllowed (packages/meteor.js:785:12)
    at OplogObserveDriver._handleOplogEntrySteadyOrFetching (packages/mongo/oplog_observe_driver.js:579:12)
    at packages/mongo/oplog_observe_driver.js:133:20
    at packages/mongo/oplog_observe_driver.js:17:9
    at Object.Meteor._noYieldsAllowed (packages/meteor.js:785:12)
    at packages/mongo/oplog_observe_driver.js:121:16
    at packages/mongo/oplog_tailing.js:108:7
    at runWithEnvironment (packages/meteor.js:1347:24)
    at Object.callback (packages/meteor.js:1360:14)
    at packages/ddp-server/crossbar.js:114:36

...might mean your Meteor app is failing to process the oplog entries caused by Astronomy's update operations and you clients will unknowingly operate based on stale data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant