-
Notifications
You must be signed in to change notification settings - Fork 353
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
JobTracker tracks all operations, not just jobs #2478
Comments
We believe this is a bug. On discussion with @GCHQDev404 it appears that this is no longer blocking completion of #2457 so it can stay on the post-2.0 backlog. |
GCHQDev404
added a commit
that referenced
this issue
Nov 2, 2022
* gh-2457-double-caching-issue weak initial step, requires synchronisation with FederatedGraphStorage and further testing. * gh-2457-double-caching-issue remove FederatedGraphStorage local map, using cache only. * gh-2457-double-caching-issue remove FederatedGraphStorage test fixes * gh-2457-double-caching-issue remove FederatedGraphStorage review. * gh-2457-double-caching-removing-graphstorage minimising use of GraphSerialisable.getGraph() * gh-2457-double-caching-removing-graphstorage gh-2478 JobTracker cache can have Suffix name. * gh-2457 double caching issue fix for persisting graph names in tests. * Merge remote-tracking branch 'origin/v2-alpha' into gh-2357-federatedstore-federated-operation-merge-alpha2 !!!With 1 failing class of Tests!!! * gh-2457 GraphSerialisable not being able to Mock has failing tests. changing GraphSerialisable causes backwards compatability issues. * gh-2457 Fixed GraphSerialisable equals. * gh-2457 checkstyle * gh-2457 PR requests. * gh-2457 PR requests. * gh-2457 PR requests.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The documentation of Job, and the general title/JavaDoc of JobTracker indicates that, when enabled on a store, the JobTracker should track only Jobs.
However, inspection of Store.java (see
Gaffer/core/store/src/main/java/uk/gov/gchq/gaffer/store/Store.java
Line 389 in 1fb6823
Gaffer/core/store/src/main/java/uk/gov/gchq/gaffer/store/Store.java
Line 924 in 1fb6823
I suggest this is a defect, and that regular non-job operations should not be tracked by the JobTracker.
If this is, in fact, intended behaviour, then I suggest the documentation and Javadoc should be updated, and maybe the name of JobTracker changed to OperationTracker, as I'd argue the existing behaviour is surprising given the name of the class and documentation.
Impacts of this defect include:
As always, happy to submit a PR (I think the solution to this issue is quite straightforward) if the maintainers agree that this is indeed a defect.
Thanks,
P.S. This issue has partially blocked the testing of gh-2457
The text was updated successfully, but these errors were encountered: