[Bounty] Help prevent data loss

Open
#2,201 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
java, mysql
Domain
backend, databases

Research direction

Start with the storage code under core/src/main/java/me/pikamug/quests/storage and investigate data loss during upgrades, restarts, and quest completion, using both file-based YAML and remote MySQL. Done means producing a demonstrable reproduction, identifying the cause, and submitting a pull request that prevents the loss.

Written by the indexing model from the issue text.

Description

bug help wanted

PSA: Always back up your server folder!!

For some time, there have been rare reports of server owners suddenly losing Quests data. Whether that be saved quests or player data, these reports have been difficult or impossible to substantiate. There is no apparent pattern—it can allegedly occur during a version upgrade, while the server is restarting, or as a player is completing a quest. Using file-based YAML or remote MySQL does not appear to matter. There are no consistent signs or symptoms of the issue and the existence of this bug borders on rumor.

Although the Quests project provides no warranty, it is of interest to see this matter put to rest. If you, or someone you know, has experienced this problem, please create an issue with as much detail as possible. Developers whom are able to demonstrably replicate a situation where this could occur may be eligible for monetary compensation. Please join our community Discord if you are able to reproduce and/or submit a pull request for this bug.

This is not an offer of employment.

Dominant language
Java
Stars
219
Forks
117
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PikaMug/Quests

All issues in PikaMug/Quests

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.