升级后的ScyllaDB版本相同

时间:2019-02-07 19:16:15

标签: centos scylla

我遵循了文档https://docs.scylladb.com/upgrade/upgrade-opensource/upgrade-guide-from-2.2-to-2.3/upgrade-guide-from-2.2-to-2.3-rpm/#upgrade-procedure,并且我的版本保持不变。它尚未升级到2.3。我有什么可以做或检查的吗?

我遵循了以下https://docs.scylladb.com/upgrade/upgrade-opensource/upgrade-guide-from-2.2-to-2.3/upgrade-guide-from-2.2-to-2.3-rpm/

但是我仍然使用2.2版

[centos@ip-192-168-4-204 ~]$ sudo systemctl stop scylla-server
[centos@ip-192-168-4-204 ~]$ scylla --version
2.2.1-0.20181021.7f24b5319
[centos@ip-192-168-4-204 ~]$  sudo yum install epel-release
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.advancedhosters.com
 * elrepo: reflector.westga.edu
 * epel: d2lzkl7pfhq30w.cloudfront.net
 * extras: mirrors.advancedhosters.com
 * updates: mirrors.advancedhosters.com
Package epel-release-7-11.noarch already installed and latest version
Nothing to do
[centos@ip-192-168-4-204 ~]$ sudo yum update scylla\* -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.advancedhosters.com
 * elrepo: reflector.westga.edu
 * epel: d2lzkl7pfhq30w.cloudfront.net
 * extras: mirrors.advancedhosters.com
 * updates: mirrors.advancedhosters.com
No packages marked for update
[centos@ip-192-168-4-204 ~]$ sudo systemctl start  scylla-server
[centos@ip-192-168-4-204 ~]$ scylla --version
2.2.1-0.20181021.7f24b5319

3 个答案:

答案 0 :(得分:4)

好像您在更新存储库文件时犯了一个错误,再次Terri并仔细观察了错误。

答案 1 :(得分:2)

您可能使用了错误的存储库。再次检查:

cat /etc/yum.repos.d/scylla.repo

您很可能错过了此处的第1步:

https://docs.scylladb.com/upgrade/upgrade-opensource/upgrade-guide-from-2.2-to-2.3/upgrade-guide-from-2.2-to-2.3-rpm/#download-and-install-the-new-release

答案 2 :(得分:0)

您需要在此处放置版本详细信息,目录为cat /etc/yum.repos.d/scylla.repo。升级时将使用正确的版本。