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
MissingResult State data is missing. #12977
Comments
I have same iusse in RayTaskRunner. :( |
For me, the situation has been consistently @task(tags={'load'}, log_prints=True, retries=3, retry_delay_seconds=5,)
async def load_raw(url:str, auth:Auth|None=None, **kwds) -> bytes:
content = await _load_raw_inner(url, auth=auth, **kwds)
return content
_load_raw = load_raw.with_options(
name=f'load-raw-{PROV_NAME.lower()}', tags=load_raw.tags | {PROV_NAME},
cache_key_fn=task_input_hash, persist_result=True,
cache_expiration=_cache_expiration, retries=3, retry_delay_seconds=5,)
@flow
async def epool_rem_gr_active_group_csv():
cont = await _load_raw(URL, verify=False, timeout=15.)
... Fixed it by moving the caching parameters to the task definition: @task(
tags={'load'}, log_prints=True,
cache_key_fn=task_input_hash, persist_result=True, retries=3, retry_delay_seconds=5,)
async def load_raw(url:str, auth:Auth|None=None, **kwds) -> bytes:
content = await _load_raw_inner(url, auth=auth, **kwds)
return content
_load_raw = load_raw.with_options(
name=f'load-raw-{PROV_NAME.lower()}', tags=load_raw.tags | {PROV_NAME},
cache_expiration=_cache_expiration,)
@flow
async def epool_rem_gr_active_group_csv():
cont = await _load_raw(URL, verify=False, timeout=15.)
... |
Fix do not work. :( |
see also #8228 |
and #8415 |
Downgrate prefect to 2.16.9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Occurs when a worker's memory overflows (with_get_dask_client is commented out)
Logs:
Traceback:
The text was updated successfully, but these errors were encountered: