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

feat(VDiskPage): add force evict #1093

Merged
merged 2 commits into from
Jul 31, 2024
Merged

Conversation

artemmufazalov
Copy link
Member

Closes #1034

Stand: https://nda.ya.ru/t/35VXVc8K77Gygx

How to check:

  1. Turn on experiment "Use separate PDisk and VDisk pages"
  2. Go to cluster storage tab, select groups
  3. Open VDisks of the same group
  4. Try to evict two or more disks at once, on the second or third there will be an error. Reload the page, if you receive "generation mismatch" error
Screenshot 2024-07-30 at 15 49 25

if (response?.result === false) {
const err = {
statusText: response.error,
retryPossible: response.forceRetryPossible && !isRetry,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Limit retries to 1

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets not add this limitation. Let backend to decide is eviction possible or not.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@artemmufazalov artemmufazalov marked this pull request as ready for review July 30, 2024 12:53
if (response?.result === false) {
const err = {
statusText: response.error,
retryPossible: response.forceRetryPossible && !isRetry,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets not add this limitation. Let backend to decide is eviction possible or not.

@artemmufazalov artemmufazalov merged commit 97dfcfb into main Jul 31, 2024
4 checks passed
@artemmufazalov artemmufazalov deleted the 1034-vdisk-force-evict branch July 31, 2024 09:46
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

Successfully merging this pull request may close these issues.

fix evict button on vdisk page
2 participants