Skip to content

Commit

Permalink
Fix race at updating system overview table
Browse files Browse the repository at this point in the history
  • Loading branch information
nadvornik committed Mar 4, 2025
1 parent 90b06e3 commit be51105
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit be51105

Please sign in to comment.