-
Notifications
You must be signed in to change notification settings - Fork 98
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
fix(DecommissionStreamingErr): new log lines added #9978
base: master
Are you sure you want to change the base?
Conversation
6e0c08e
to
fdad7a0
Compare
fdad7a0
to
d9f0656
Compare
sdcm/utils/raft/__init__.py
Outdated
MessagePosition("api - decommission", LogPosition.BEGIN), | ||
MessagePosition("DECOMMISSIONING: unbootstrap starts", LogPosition.BEGIN), | ||
MessagePosition("DECOMMISSIONING: unbootstrap done", LogPosition.END), | ||
MessagePosition("becoming a group 0 non-voter", LogPosition.END), | ||
MessagePosition("became a group 0 non-voter", LogPosition.END), | ||
MessagePosition("leaving token ring", LogPosition.END), | ||
MessagePosition("left token ring", LogPosition.END), | ||
MessagePosition("raft_topology - decommission: waiting for completion", LogPosition.BEGIN), | ||
MessagePosition("repair - decommission_with_repair", LogPosition.END) | ||
MessagePosition("repair - decommission_with_repair", LogPosition.END), | ||
MessagePosition("raft_topology - request decommission for", LogPosition.BEGIN), | ||
MessagePosition("storage_service - Started batchlog replay for decommission", LogPosition.BEGIN), | ||
MessagePosition("storage_service - Finished batchlog replay for decommission", LogPosition.BEGIN), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add please these lines also:
- raft_topology - start streaming
- raft_topology - streaming completed
- raft_topology - decommission: successfully removed from topology
- raft_topology - Decommission succeeded
sdcm/utils/raft/__init__.py
Outdated
MessagePosition("api - decommission", LogPosition.BEGIN), | ||
MessagePosition("DECOMMISSIONING: unbootstrap starts", LogPosition.BEGIN), | ||
MessagePosition("DECOMMISSIONING: unbootstrap done", LogPosition.END), | ||
MessagePosition("becoming a group 0 non-voter", LogPosition.END), | ||
MessagePosition("became a group 0 non-voter", LogPosition.END), | ||
MessagePosition("leaving token ring", LogPosition.END), | ||
MessagePosition("left token ring", LogPosition.END), | ||
MessagePosition("raft_topology - decommission: waiting for completion", LogPosition.BEGIN), | ||
MessagePosition("repair - decommission_with_repair", LogPosition.END) | ||
MessagePosition("repair - decommission_with_repair", LogPosition.END), | ||
MessagePosition("raft_topology - request decommission for", LogPosition.BEGIN), | ||
MessagePosition("storage_service - Started batchlog replay for decommission", LogPosition.BEGIN), | ||
MessagePosition("storage_service - Finished batchlog replay for decommission", LogPosition.BEGIN), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one MessagePosition("storage_service - Finished batchlog replay for decommission", LogPosition.BEGIN),
i think not needed
for aborting the decommission process fixes:9501
d9f0656
to
300c259
Compare
new log lines added for aborting the decommission process
fixes: #9501
Testing
https://jenkins.scylladb.com/view/staging/job/scylla-staging/job/eugene_test_folder/job/decommission_logs_testing/
https://argus.scylladb.com/tests/scylla-cluster-tests/d4151c1d-bce7-4689-91f4-67269dc2ef44
PR pre-checks (self review)
backport
labelsReminders
sdcm/sct_config.py
)unit-test/
folder)