question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cannot turn off checkpointing with prefect server

See original GitHub issue

Description

prefect server start does not respect turning off checkpointing.

Expected Behavior

Files should not be written to ~/.prefect/results if checkpointing is turned off.

Have tried:

@prefect.task(checkpoint=False)

in config.toml:

[flows]
checkpointing = false

Reproduction

Run prefect server start with a task using @prefect.task(checkpoint=False) and see task write result to ~/.prefect/result.

Environment

{
  "config_overrides": {
    "flows": {
      "checkpointing": true
    },
    "server": {
      "database": {
        "host": true
      },
      "endpoint": true,
      "graphql": {
        "host": true
      },
      "hasura": {
        "host": true
      },
      "host": true,
      "host_port": true,
      "port": true,
      "ui": {
        "endpoint": true,
        "graphql_url": true,
        "host": true,
        "host_port": true,
        "port": true
      }
    }
  },
  "env_vars": [
    "PREFECT__FLOWS__CHECKPOINTING"
  ],
  "system_information": {
    "platform": "Linux-4.15.0-91-generic-x86_64-with-debian-buster-sid",
    "prefect_version": "0.10.4",
    "python_version": "3.7.7"
  }
}

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
lauralorenzcommented, May 5, 2020

Sounds like 0.11.0 should be going out next week, so we will revisit whether this is still a bug then since based on the above conversation the offending line should be removed from that release.

1reaction
cicdwcommented, May 3, 2020

@joshmeek yea for sure, actually that entire function was removed in the new PR so I think that will close this issue once it’s released.

Read more comments on GitHub >

github_iconTop Results From Across the Web

I am facing issues with checkpointing Dask dataframe and ...
If you are doing this locally and wonder why it doesn't work, checkpointing is only turned on by default when running on Prefect...
Read more >
Recently Active 'prefect' Questions
I am trying to run a prefect flow with a single task. My flow has an image for the flow and an image...
Read more >
Understanding Great Expectations and How to Use It
This is a use case on using Great Expectations to validate data in a ... To show the workflow, we have used the...
Read more >
Enable or disable checkpoints in Hyper-V
Gives instructions for turning checkpoint capability on or off. ... Windows 10, Windows Server 2016, Microsoft Hyper-V Server 2016, ...
Read more >
prefect Changelog
Disabling block protection restores the ability for a client and server to ... when a loaded flow doesn't match the version stored in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found