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

Gh-3166: FederatedStore While Operation Looping Bug #3167

Open
wants to merge 23 commits into
base: develop
Choose a base branch
from

Conversation

GCHQDev404
Copy link
Contributor

@GCHQDev404 GCHQDev404 commented Mar 5, 2024

@GCHQDev404 GCHQDev404 marked this pull request as ready for review March 5, 2024 20:41
@GCHQDev404 GCHQDev404 marked this pull request as draft March 11, 2024 12:05
Copy link

codecov bot commented Mar 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.68%. Comparing base (fe1d93a) to head (4afa0ae).

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #3167      +/-   ##
=============================================
- Coverage      66.68%   66.68%   -0.01%     
+ Complexity      2557     2555       -2     
=============================================
  Files            907      909       +2     
  Lines          29068    29076       +8     
  Branches        3241     3241              
=============================================
+ Hits           19385    19389       +4     
- Misses          8249     8251       +2     
- Partials        1434     1436       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@GCHQDeveloper314 GCHQDeveloper314 changed the title Gh 3166 federated store while operation looping bug Gh-3166: FederatedStore While Operation Looping Bug Mar 13, 2024
}

return input;
}

protected Operation getOperationFromWhile(final While aWhile) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe a comment to explain this is useful for overriding (in Federation)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I thought the rule was anything Federation should not be mentioned lower down in the Gaffer code?
Thoughts?

Copy link
Member

Choose a reason for hiding this comment

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

I don't think we should mention Federation in the core code. It is an additional store which shouldn't require changes to the core or mentions of Federation. In practice there are a few things like this. It will be easy to find out what this is for. A general JavaDoc comment would be good but a comment which just says that it's there for Federation less so.

@GCHQDev404 GCHQDev404 marked this pull request as ready for review April 11, 2024 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FederatedStore While Operation Looping Bug
3 participants