-
Notifications
You must be signed in to change notification settings - Fork 313
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
Migrate from MongoDB 4.x to @next #1825
Comments
This is starting to get important. See also: |
Interesting: MongoDB 4.x seems to allow one only on production however local dev here (MongoDB 5.x) says the index was created when I did 2. Since pro is a slightly different platform may not work with 2... but now there is an option. Been waiting for this feature for several years now. We can query multiple "parallel arrays" for years however we can't index them is what they are saying in the docs... paraphrased of course. |
* This is one of the last recommendations that mLabs said to try. * Also paired with re-investigation mentioned at OpenUserJS#1825 (comment)
* Try alt index * This is one of the last recommendations that mLabs said to try. * Also paired with re-investigation mentioned at #1825 (comment) * Index reordering again * Seems to be happier. Not quite the ESR rules because isLib has to be first and in those locations or the index never gets used... more likely boolean equality, semi-static preferred equality, semi-static less preferred equality, etc. * We'll try this for a while. Ref: * https://www.mongodb.com/blog/post/performance-best-practices-indexing Auto-merge
Misc critical error encountered: MongoDB Script save critical error
iFelix18/Monkey_Utils.js
{
"version": 0,
"modifiedPaths": [
"meta",
"uses",
"hash",
"updated"
]
}
0bc2e3b4-803a-11ec-868a-26da9250a6e2 statusError: {
"message": "Database write error",
"code": 502
}
at ~/OpenUserJS.org1/controllers/scriptStorage.js:2178:27
at ~/OpenUserJS.org1/node_modules/mongoose/lib/model.js:5074:18
at processTicksAndRejections (node:internal/process/task_queues:78:11) {
status: { message: 'Database write error', code: 502 },
code: undefined
} No further updates to mongoose@5.x and mongodb@3.x at this time. Could be related to https://stackoverflow.com/questions/70536836/unreachable-mongodb-once-memory-is-being-allocated-on-the-swap since that's what came up on a log investigation. Author is sending both normal and minified scripts from GH to OUJS on sync. |
Hoping to get this started next week after the holiday... still have https://repo.mongodb.org/apt/ubuntu/dists/jammy/mongodb-org/5.0/multiverse/binary-amd64/ missing for dev station but 6.0 does exist at this time. Been a seriously long wait for them to get the completed new versions out. Last weeks check yielded the 6.0 for pro and dev available... currently testing on dev: $ apt-cache policy mongodb-org
mongodb-org:
Installed: 6.0.3
Candidate: 6.0.3
Version table:
*** 6.0.3 500
500 https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0/multiverse amd64 Packages
100 /var/lib/dpkg/status NOTE: At this time neither doc pages show jammy or bullseye support yet the repo has support... wondering if they are expecting real world testing instead of internal. |
This is now scheduled to happen with the next 96 hours. I'm quite busy off and on but will find some time for this. Will update the topic label on main page when it's "Offline". |
Thrills: Cc: @sizzlemctwizzle
Ref: https://www.mongodb.com/docs/drivers/node/current/fundamentals/promises/#callbacks--deprecated- Pretty sure they are already eol'd as I'm getting Anyhow... in-place migration from MongoDB 4.x to MongoDB 6.x failed... but luckily purged it as I described above and restored. Seems to be working just like dev station. Closing this migration issue. |
/usr/share/keyrings/
, for existing MongoDB 4.4 (NOTE keys are different between ...4.0.asc and ...4.4.asc)lsb_release -a
with https://docs.mongodb.com/manual/tutorial/install-mongodb-on-debian/#platform-support)mongodump --gzip --db openuserjs_devel --archive=./dev/devDBdirty.gz
but productions)@next
(may need db tools from .deb package... local installation was a bit weird withapt
)mongorestore --gzip --db openuserjs_devel --archive=./dev/devDBdirty.gz
but productions)NOTE(S)
mongo
command is deprecated formongosh
(No longer shows openssl version btw in new CLI with--version
👎 )Possible dev installation when available for 6.x
Possible pro installation when available for 6.x (2022 09 01 ... missing in buster, present in bullseye)
The text was updated successfully, but these errors were encountered: