This repository has been archived by the owner on Apr 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 117
FALCON-2229 BacklogEmitterMetricService fix for deleting entities' instances in case of removal of SLA or deletion of entity #335
Closed
Closed
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
9e68a57
FALCON-298. Feed update with replication delay creates holes
sandeepSamudrala a94d4fe
rebasing from master
sandeepSamudrala 271318b
FALCON-2097. Adding UT to the new method for getting next instance ti…
sandeepSamudrala 1a4dcd2
rebased and resolved the conflicts from master
sandeepSamudrala c065566
reverting last line changes made
sandeepSamudrala 1bb8d3c
Merge branch 'master' of https://github.com/apache/falcon
sandeepSamudrala d6dc8bf
Merge branch 'master' of https://github.com/apache/falcon
sandeepSamudrala a178805
Merge branch 'master' of https://github.com/apache/falcon
sandeepSamudrala d0393e9
Merge branch 'master' of https://github.com/apache/falcon
sandeepSamudrala 250cc46
Merge branch 'master' of https://github.com/apache/falcon
sandeepSamudrala 48f6afa
Merge branch 'master' of https://github.com/apache/falcon
sandeepSamudrala bbca081
Merge branch 'master' of https://github.com/apache/falcon
sandeepSamudrala 9cf36e9
Merge branch 'master' of https://github.com/apache/falcon
sandeepSamudrala f96a084
Merge branch 'master' of https://github.com/apache/falcon
sandeepSamudrala e0ad358
Merge branch 'master' of https://github.com/apache/falcon
sandeepSamudrala 194f36a
Merge branch 'master' of https://github.com/apache/falcon
sandeepSamudrala 0a433fb
Merge branch 'master' of https://github.com/apache/falcon
sandeepSamudrala b1546ed
Merge branch 'master' of https://github.com/apache/falcon
sandeepSamudrala 4a2e23e
Merge branch 'master' of https://github.com/apache/falcon
sandeepSamudrala 0cf9af6
Merge branch 'master' of https://github.com/apache/falcon
sandeepSamudrala 456d4ee
Merge branch 'master' of https://github.com/apache/falcon
sandeepSamudrala 089b10d
Merge branch 'master' of https://github.com/apache/falcon
sandeepSamudrala cc28658
Merge branch 'master' of https://github.com/apache/falcon
sandeepSamudrala 3558af3
Merge branch 'master' of https://github.com/apache/falcon into FALCON…
sandeepSamudrala 5cb25e8
FALCON-2229 BacklogEmitterMetricService fix for deleting entities' in…
sandeepSamudrala 22a80b6
FALCON-2229 Incorporated review comments. Renamed the method
sandeepSamudrala 280a079
FALCON-2229 Removed cluster from the named query that deletes all the…
sandeepSamudrala File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need to add clusterName also here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no. In a colo on removal of an entity, its removed from all the clusters, which means deletion of the instances across the clusters per colo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but the query for the PersistenceConstants DELETE_ALL_BACKLOG_ENTITY_INSTANCES expects three variables.
query = delete from BacklogMetricBean a where a.entityName = :entityName and a.clusterName = :clusterName and a.entityType = :entityType"
Which means from there you need to remove clusterName.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for catching it. I had missed it. I will remove cluster from the named query.