Github user srowen commented on the pull request:
https://github.com/apache/spark/pull/6852#issuecomment-112739900
Are you worried about writes being visible or a correctness issue? Yes I
see the potential correctness issue -- it's not `foreachRDD`s happening at the
same time but the polling read afterwards.
I think you'd find there are definitely memory barriers in, for example,
merely submitting a task. So I don't think there's a possibility that the
writes never turn up in the reading thread. However that point is moot since I
think the change is needed for the reason above anyway.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]