axonops / axonops-workbench

AxonOps™ Workbench for Apache Cassandra® - Desktop application for Mac, Windows and Linux
https://axonops.com
Apache License 2.0
10 stars 0 forks source link

[bug]: Dont refresh cluster meta data when executing alter role statements #358

Closed millerjp closed 1 day ago

millerjp commented 3 weeks ago

Do I have the most recent version of AxonOps Workbench installed?

AxonOps Workbench Version

v1.0.0-beta-20240905

Is there an existing issue for this?

Operating System

MacOS

Operating System Version

14.6.1

Apache Cassandra Version(s)

4.1.6

Bug Description

Under certain circuistances when adding tables, alerting tables etc.. we refresh the cluster meta data to render the tree again. However, we should not be doing this for alter role statements

Steps to Reproduce

run an alter role statments ane the metadata gets refreshed

Expected Behavior

does not do this

Actual Behavior

it refreshes the metadata

Severity

Medium

Further Information

No response

millerjp commented 3 weeks ago

Should probably check this for create role also

digiserg commented 1 week ago

This is still happening

mhmdkrmabd commented 1 week ago

This is still happening

@digiserg it's appreciated if you provide the statement you've executed

digiserg commented 1 week ago

https://github.com/user-attachments/assets/9fb62ca9-4751-4fa5-a0ad-6dba9ec9deed

digiserg commented 1 week ago

https://github.com/user-attachments/assets/bfc91db5-b7e8-407c-b366-9afea272b78b

mhmdkrmabd commented 1 week ago

Confirmed, will be handled in the next PR

mhmdkrmabd commented 1 week ago

Fixed by improve the provided identifiers by the cqlsh tool, tested with different cases: CREATE => role, user ALTER => role, user