PikaMug / PikaMug/Quests

[Bounty] Help prevent data loss

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

Nobody has claimed this yet.

bug help wanted
Dominant language
Java
Stars
221
Forks
114
PR merge metrics
No merged PRs in 30d

Description

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 issue, please comment below 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.

Contributor guide

Open the contributing guide

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.