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

refactor(admin): set dirty field only when the MR is mutated #481

Merged
merged 1 commit into from
Jul 28, 2023

Conversation

ijsong
Copy link
Member

@ijsong ijsong commented Jun 16, 2023

What this PR does

This PR makes the mrmanager avoid unnecessary fetching cluster metadata by checking the dirty field only when the MR is mutated successfully.

@ijsong
Copy link
Member Author

ijsong commented Jun 16, 2023

@ijsong ijsong self-assigned this Jun 16, 2023
@ijsong ijsong marked this pull request as draft June 16, 2023 12:05
@ijsong ijsong force-pushed the admin_faster_cmview branch from 29c7d20 to 4d1e13e Compare June 17, 2023 03:42
@ijsong ijsong force-pushed the admin_mrmanager_fix_dirty branch from 54d0229 to 24aa412 Compare June 17, 2023 03:43
@ijsong ijsong marked this pull request as ready for review June 19, 2023 04:01
@ijsong ijsong force-pushed the admin_faster_cmview branch from 4d1e13e to 417a3e8 Compare July 17, 2023 01:05
@ijsong ijsong force-pushed the admin_mrmanager_fix_dirty branch from 24aa412 to 37fd27f Compare July 17, 2023 01:05
This PR makes the mrmanager avoid unnecessary fetching cluster metadata by checking the dirty field
only when the MR is mutated successfully.
@ijsong ijsong force-pushed the admin_faster_cmview branch from 417a3e8 to 3e46f62 Compare July 28, 2023 07:48
@ijsong ijsong force-pushed the admin_mrmanager_fix_dirty branch from 37fd27f to 083739b Compare July 28, 2023 07:48
@ijsong
Copy link
Member Author

ijsong commented Jul 28, 2023

@ijsong started a stack merge that includes this pull request via Graphite.

Base automatically changed from admin_faster_cmview to main July 28, 2023 08:14
@ijsong ijsong merged commit e5c843b into main Jul 28, 2023
@ijsong ijsong deleted the admin_mrmanager_fix_dirty branch July 28, 2023 08:14
@ijsong
Copy link
Member Author

ijsong commented Jul 28, 2023

@ijsong merged this pull request with Graphite.

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.

2 participants