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

Fix race at updating system overview table (bsc#1235853) #9892

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3842,8 +3842,7 @@ public static boolean updateMgrServerInfo(Server server, ManagerInfoJson info) {
*/
public static void updateSystemOverview(Long sid) {
// We need the server to be already in the database to update it
if (sid != null &&
TaskFactory.lookup(OrgFactory.getSatelliteOrg(), SystemsOverviewUpdateDriver.TASK_NAME, sid) == null) {
if (sid != null) {
TaskFactory.createTask(OrgFactory.getSatelliteOrg(), SystemsOverviewUpdateDriver.TASK_NAME, sid);
}
}
Expand Down
1 change: 1 addition & 0 deletions java/spacewalk-java.changes.nadvornik.overview_update
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fix race at updating system overview table (bsc#1235853)

Check failure on line 1 in java/spacewalk-java.changes.nadvornik.overview_update

View workflow job for this annotation

GitHub Actions / Changelog tests

bsc#1235853 is not mentioned in PR title or in commit messages in file java/spacewalk-java.changes.nadvornik.overview_update#L1
Loading