Closed denesb closed 7 months ago
When we upgrade the package, will it remove the now defunct Java based nodetool? In the RPM post install script for example?
When we upgrade the package, will it remove the now defunct Java based nodetool? In the RPM post install script for example?
No, and we should. I don't know how to do it though. Will need some help on that.
BTW, the nodetool-wrapper
removed by this PR didn't make it into any release yet, so no need to add rules to remove it.
We should clear nodetool
binary from /opt/shared/cassandra/bin
.
v2:
/opt/scylladb/share/cassandra/bin/nodetool
, but don't create a thunk/symlink in /usr/bin
(in root install).@tchaikov after thinking about it, I don't think I need to do any transition work in the packaging of scylla-tools
. Instead all the required changes have to go into the packaging of scylla-server
, as it is the one which takes over files from this package, the reverse is not true.
v2:
- Keep installing nodetool to
/opt/scylladb/share/cassandra/bin/nodetool
, but don't create a thunk/symlink in/usr/bin
(in root install).@tchaikov after thinking about it, I don't think I need to do any transition work in the packaging of
scylla-tools
. Instead all the required changes have to go into the packaging ofscylla-server
, as it is the one which takes over files from this package, the reverse is not true.
agreed, I was commenting on the wrong PR. All the comments should apply to the scylladb PR.
v2:
- Keep installing nodetool to
/opt/scylladb/share/cassandra/bin/nodetool
, but don't create a thunk/symlink in/usr/bin
(in root install).@tchaikov after thinking about it, I don't think I need to do any transition work in the packaging of
scylla-tools
. Instead all the required changes have to go into the packaging ofscylla-server
, as it is the one which takes over files from this package, the reverse is not true.agreed, I was commenting on the wrong PR. All the comments should apply to the scylladb PR.
for scylla-tools , it Breaks scylla-server (<<6.0)
i was wrong. the above comment still applies.
agreed, I was commenting on the wrong PR. All the comments should apply to the scylladb PR.
for scylla-tools , it Breaks scylla-server (<<6.0)
i was wrong. the above comment still applies.
I don't understand. Why is this package breaking scylla-server? Older versions of this package break the new version of scylla-server, but the new one doesn't, they have no common files.
sorry for the confusion, i meant: the new scylla-tools should not coexist with old scylla-server, that's why the new scylla-tools
"breaks" the old scylla-server
.
sorry for the confusion, i meant: the new scylla-tools should not coexist with old scylla-server, that's why the new
scylla-tools
"breaks" the oldscylla-server
.
Ok, makes sense.
@scylladb/scylla-maint please merge. Both this and its sister PR https://github.com/scylladb/scylladb/pull/18255 are ready for merge.
(remember to not create a submodule update after merging, the submodule update has to go into https://github.com/scylladb/scylladb/pull/18255, so it is enough to just merge this to scylla-tools-java:master).
@scylladb/scylla-maint ping.
Nodetool is now supplied by the scylla core package, the Java tools package shouldn't install it anymore. For now, leave it as a backup nodetool in /opt/scylladb/share/cassandra/bin, but don't symlink it into /usr/bin.
After merged, the submodule update for this PR should be incorporated into https://github.com/scylladb/scylladb/pull/18255.