This is an automated email from the ASF dual-hosted git repository.
hapylestat pushed a commit to branch branch-2.7
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/branch-2.7 by this push:
new 12e232f AMBARI-25534. DB purge fails removing topology requests.
(dvitiuk via dgrinenko) (#3211)
12e232f is described below
commit 12e232ff7435ee703e04b47e1f8a2a011d0b2cb3
Author: dvitiiuk <[email protected]>
AuthorDate: Tue Sep 29 13:51:35 2020 +0300
AMBARI-25534. DB purge fails removing topology requests. (dvitiuk via
dgrinenko) (#3211)
---
.../src/main/java/org/apache/ambari/server/orm/dao/RequestDAO.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/ambari-server/src/main/java/org/apache/ambari/server/orm/dao/RequestDAO.java
b/ambari-server/src/main/java/org/apache/ambari/server/orm/dao/RequestDAO.java
index 3c3d7bf..d78c14c 100644
---
a/ambari-server/src/main/java/org/apache/ambari/server/orm/dao/RequestDAO.java
+++
b/ambari-server/src/main/java/org/apache/ambari/server/orm/dao/RequestDAO.java
@@ -487,7 +487,7 @@ public class RequestDAO implements Cleanable {
});
if (!partialHostRequestIds.isEmpty()) {
-
topologyRequestIds.addAll(topologyHostTaskDAO.findHostRequestIdsByHostTaskIds(partialHostRequestIds));
+
topologyRequestIds.addAll(topologyLogicalRequestDAO.findRequestIdsByIds(partialHostRequestIds));
}
return topologyRequestIds;
}