Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disrupt_add_remove_mv nemesis enhancement #9557

Open
timtimb0t opened this issue Dec 16, 2024 · 3 comments
Open

disrupt_add_remove_mv nemesis enhancement #9557

timtimb0t opened this issue Dec 16, 2024 · 3 comments
Assignees

Comments

@timtimb0t
Copy link
Contributor

disrupt_add_remove_mv nemesis often fails with the following error:

Traceback (most recent call last):
  File "/home/ubuntu/scylla-cluster-tests/sdcm/nemesis.py", line 5447, in wrapper
    result = method(*args[1:], **kwargs)
  File "/home/ubuntu/scylla-cluster-tests/sdcm/nemesis.py", line 5115, in disrupt_add_remove_mv
    drop_materialized_view(session, ks_name, view_name)
  File "/home/ubuntu/scylla-cluster-tests/sdcm/utils/nemesis_utils/indexes.py", line 125, in drop_materialized_view
    session.execute(SimpleStatement(f'DROP MATERIALIZED VIEW {ks}.{view_name}'), timeout=300)
  File "/home/ubuntu/scylla-cluster-tests/sdcm/utils/common.py", line 1318, in execute_verbose
    return execute_orig(*args, **kwargs)
  File "cassandra/cluster.py", line 2729, in cassandra.cluster.Session.execute
  File "cassandra/cluster.py", line 5120, in cassandra.cluster.ResponseFuture.result
cassandra.OperationTimedOut: errors={'10.142.0.227:9042': 'Client request timeout. See Session.execute[_async](timeout)'}, last_host=10.142.0.227:9042

But in fact the drop index operation often is successful, seems like timeouts on SCT side should be adjusted

@timtimb0t timtimb0t self-assigned this Dec 16, 2024
@soyacz
Copy link
Contributor

soyacz commented Dec 16, 2024

does this statement support 'using timeout'?
besides, shouldn't it be fast operation?

@timtimb0t
Copy link
Contributor Author

does this statement support 'using timeout'? besides, shouldn't it be fast operation?

I'm not sure regarding the 'using timeout' I'll investigate it a little bit more but it definitely can take a while

@soyacz
Copy link
Contributor

soyacz commented Dec 16, 2024

does this statement support 'using timeout'? besides, shouldn't it be fast operation?

I'm not sure regarding the 'using timeout' I'll investigate it a little bit more but it definitely can take a while

see, that this is not "SCT side timeout" rather Scylla's one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants