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

Add Performance profile table in the DB #828

Merged
merged 9 commits into from
Aug 11, 2023

Conversation

khansaad
Copy link
Contributor

This PR contains changes to add new table kruize_performance_profiles and it's corresponding DAO and Model classes.

This will fix #790

@khansaad khansaad added bug Something isn't working enhancement New feature or request labels May 22, 2023
@khansaad khansaad added this to the Kruize 0.0.15_rm Release milestone May 22, 2023
@khansaad khansaad requested review from dinogun and msvinaykumar May 22, 2023 10:58
@khansaad khansaad self-assigned this May 22, 2023
@khansaad khansaad linked an issue May 22, 2023 that may be closed by this pull request
Signed-off-by: saakhan <[email protected]>
@khansaad khansaad marked this pull request as ready for review June 6, 2023 11:03
@chandrams
Copy link
Contributor

@khansaad - Please update the fault tolerant test to check kruize restart works without having to create the performance profile again.

public class KruizePerformanceProfileEntry {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long performance_profile_id;
Copy link
Contributor

Choose a reason for hiding this comment

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

What is this id and why is this the IDENTITY?
@msvinaykumar this is the same problem that we had with the results table. Please use name as the IDENTITY instead

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Contributor

@dinogun dinogun left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
Status: Verify
Development

Successfully merging this pull request may close these issues.

After Kruize pod restarts performance profile is not loaded from DB
4 participants