[
https://issues.apache.org/jira/browse/BEAM-10212?focusedWorklogId=637027&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-637027
]
ASF GitHub Bot logged work on BEAM-10212:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 11/Aug/21 18:06
Start Date: 11/Aug/21 18:06
Worklog Time Spent: 10m
Work Description: amaliujia commented on a change in pull request #15214:
URL: https://github.com/apache/beam/pull/15214#discussion_r687060347
##########
File path:
sdks/java/harness/src/main/java/org/apache/beam/fn/harness/control/ProcessBundleHandler.java
##########
@@ -491,14 +514,27 @@ private BundleProcessor createBundleProcessor(
}
}
- // Instantiate a State API call handler depending on whether a State
ApiServiceDescriptor
- // was specified.
- HandleStateCallsForBundle beamFnStateClient =
- bundleDescriptor.hasStateApiServiceDescriptor()
- ? new BlockTillStateCallsFinish(
- beamFnStateGrpcClientCache.forApiServiceDescriptor(
- bundleDescriptor.getStateApiServiceDescriptor()))
- : new FailAllStateCallsForBundle(processBundleRequest);
+ // Instantiate a State API call handler depending on whether a State
ApiServiceDescriptor was
+ // specified.
+ HandleStateCallsForBundle beamFnStateClient;
+ if (bundleDescriptor.hasStateApiServiceDescriptor()) {
Review comment:
Got it let's file a patch to hide the cache by an experiment.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 637027)
Time Spent: 12h 50m (was: 12h 40m)
> Add support for Java SDK harness state caching
> ----------------------------------------------
>
> Key: BEAM-10212
> URL: https://issues.apache.org/jira/browse/BEAM-10212
> Project: Beam
> Issue Type: Sub-task
> Components: sdk-java-harness
> Reporter: Luke Cwik
> Assignee: Anthony Zhu
> Priority: P3
> Labels: Clarified, portability
> Time Spent: 12h 50m
> Remaining Estimate: 0h
>
> Tech spec:
> [https://docs.google.com/document/d/1BOozW0bzBuz4oHJEuZNDOHdzaV5Y56ix58Ozrqm2jFg/edit#heading=h.7ghoih5aig5m]
> Relevant document:
> [https://docs.google.com/document/d/1ltVqIW0XxUXI6grp17TgeyIybk3-nDF8a0-Nqw-s9mY/edit#|https://docs.google.com/document/d/1ltVqIW0XxUXI6grp17TgeyIybk3-nDF8a0-Nqw-s9mY/edit]
> Mailing list link:
> [https://lists.apache.org/thread.html/caa8d9bc6ca871d13de2c5e6ba07fdc76f85d26497d95d90893aa1f6@%3Cdev.beam.apache.org%3E]
>
> See https://issues.apache.org/jira/browse/BEAM-5428 and
> https://issues.apache.org/jira/browse/BEAM-8298 for Python implementation
> details.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)