dragonfly icon indicating copy to clipboard operation
dragonfly copied to clipboard

Version check may recommend updating to an older version

Open ashotland opened this issue 2 years ago • 0 comments

Version check server refresh latest version every hour.

If someone downloads the latest version before the server refresh dragonfly will prompt to upgrade because it only checks version inequality and doesn't consider the version number: https://github.com/dragonflydb/dragonfly/blob/a9d9b4935c43066da4c1e4e3a4eb51e43da10960/src/server/dfly_main.cc#L236

So maybe don't prompt if the resolved version is older than dragonfly's?

ashotland avatar Jun 20 '23 13:06 ashotland