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
Achieve compatibility with WeKan #1752
Comments
@xet7 oops, sorry, fixed it |
We just released a new version with OpLog tailing support, which was a major blocker for supporting Meteor apps: https://github.com/FerretDB/FerretDB/releases/tag/v1.18.0 |
When I try FerretDB SQLite, I get this exception:
At browser right click console:
At docker-compose.yml of https://github.com/wekan/wekan/blob/main/docker-compose.yml#L91-L110 I have changed to FerretDB SQLite like this, then
|
Hmm, I think I did not yet add those OpLog settings from https://github.com/FerretDB/FerretDB/releases/tag/v1.18.0 I'll try |
In Progress. Just guessing.I don't have any of these working yet, I'm just guessing how these could work. I don't have any working examples yet. How to set OpLog URL setting?MONGO_OPLOG_URL , with MongoDB, was previously made this way https://github.com/wekan/wekan/blob/main/docker-compose.yml#L218 . Does Meteor also need MONGO_OPLOG_URL ? For FerretDB, it looks like FERRETDB_REPL_SET_NAME should be something like this:
How to create oplog.rs capped collection at Snap?https://github.com/wekan/wekan/blob/main/snap-src/bin/mongodb-control#L148 For creating oplog.rs capped collection, I guess it would be something like this:
Previous MongoDB OpLog at ToroDB/PostgreSQLPreviously, with ToroDB to PostgreSQL https://github.com/wekan/wekan/tree/main/torodb-postgresql , replicaset was previosly made this way https://github.com/wekan/wekan/blob/main/torodb-postgresql/docker-compose.yml#L129-L142
But I don't know does FerretDB all-in-one container have Maybe creating oplog.rs with Meteor?I don't know, would it be possible to create replicaset using Meteor commands? https://docs.meteor.com/api/collections Maybe creating oplog.rs at models?In theory, like at
|
I think so.
That should be just a name like
It does. But |
Yes, Meteor can use the environment variable
Excited to see progress on FerretDB and Meteor! |
Is there any working code example of Meteor working with FerretDB/SQLite ? For example, can you make modifications to Dockerfile and docker-compose.yml at https://github.com/wekan/wekan and create GitHub Gist or repo, where WeKan would work with FerretDB/SQLite ? And if possible, also example for FerretDB/PostgreSQL ? |
Absolutely! There's a PostgreSQL example here https://github.com/wreiske/meteor-ferretdb I made around 2 years ago. It looks like FerretDB forked it and updated it a bit https://github.com/FerretDB/meteor-ferretdb Maybe with small tweaks it can work with SQLite. |
What should be done?
Refs #24, #2501
They use Meteor which often tails the oplog for performance benefits but tailing the oplog is an optional setting for WeKan defined here. It uses Meteor's poll-and-diff method by default which just uses find under-the-hood.
They also use GridFS to store avatars and attachments.
https://github.com/wekan/wekan/tree/master/models
Tasks
$pull
array update operator #826$addToSet
array update operator #825$match
aggregation pipeline stage #1428$group
aggregation pipeline stage #1423$sort
aggregation pipeline stage #1439$sum
aggregation operator #2013$unset
aggregation pipeline stage #1432$lookup
aggregation pipeline stage #1427partialFilterExpression
,sparse
) #2448The text was updated successfully, but these errors were encountered: