vsc-eco / vsc-node

Node software powering the next generation smart contract L2 on the HIVE blockchain
https://vsc.eco
GNU General Public License v3.0
11 stars 5 forks source link

Upgrade MongoDB Version #40

Open Rishi556 opened 1 month ago

Rishi556 commented 1 month ago

https://github.com/vsc-eco/vsc-node/blob/eacccf9ebbb59887541af81529d12d94cb7e3126/docker-compose.yml#L31

MongoDB 4.4 is EOL(see https://endoflife.date/mongodb). Upgrading to 7.0 should be a simple change assuming no removed feature is in use.

vaultec81 commented 1 month ago

The reason why it's at 4.4 in the first place is mongodb dropped support for Raspberry pis in latest versions. However, that can be revisited again. I'd like to have raspberry pi support but it's not the most critical thing in the world.

vaultec81 commented 1 month ago

This might be an option https://github.com/themattman/mongodb-raspberrypi-binaries

Rishi556 commented 1 month ago

dropped support for Raspberry pis

Is there many running on PIs? There seem to be better options for computing at that price range these days. I think not running EOL software where possible is a higher priority.

Geo25rey commented 1 month ago

I agree that running an out of date version of MongoDB is not ideal. If you'd like to make a Docker image that compiles MongoDB for both arm64 v8.0 and amd64, we'd be willing to consider upgrading. However, the database we use is not a very high priority for at the moment.

Rishi556 commented 4 days ago

Reopened as I talked with @vaultec81 who said this should not have been closed.