Skip to content

Warn about dropped Quartz tables #15295

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

Closed
wants to merge 1 commit into from

Conversation

Grannath
Copy link
Contributor

The default Quartz init scripts drop all tables, as in the Postgres script. Since the only options are always or never, they are useless for most production settings.

We discovered this the hard way today. I do not understand who in the Quartz project decides on defaults like this. But at the very least the Spring Boot documentation deserves a warning, since it mentions this setting.

The default init scripts drop all tables, as in [the Postgres script](https://github.com/quartz-scheduler/quartz/blob/master/quartz-core/src/main/resources/org/quartz/impl/jdbcjobstore/tables_postgres.sql). Since the only options are `always` or `never`, they are useless for most production settings. More importantly, they deserve a warning, as they should not be used carelessly.
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Nov 26, 2018
@pivotal-issuemaster
Copy link

@Grannath Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-issuemaster
Copy link

@Grannath Thank you for signing the Contributor License Agreement!

@wilkinsona wilkinsona added type: documentation A documentation update and removed status: waiting-for-triage An issue we've not yet triaged labels Nov 27, 2018
@wilkinsona wilkinsona added this to the 2.0.x milestone Nov 27, 2018
@wilkinsona wilkinsona self-assigned this Nov 27, 2018
wilkinsona added a commit that referenced this pull request Nov 27, 2018
* gh-15295:
  Warn about Quartz dropping tables on restart
@wilkinsona
Copy link
Member

@Grannath Thank you very much for making your first contribution to Spring Boot. I've merged the proposed changes into 2.0.x and forwards into master.

@wilkinsona wilkinsona modified the milestones: 2.0.x, 2.0.7 Nov 27, 2018
@Grannath
Copy link
Contributor Author

@wilkinsona Wow, that was easy. 😅

If this is how PRs get handled in Spring projects, count me in. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation A documentation update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants