mt-mods / mt-mods/pipeworks

race condition with concurrently arriving stacks

Open
#120 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Lua
Stars
20
Forks
31
Avg merge
1m
Merged PRs (30d)
9

Description

Reported by Huhhila:
concurrently-arriving stacks of same type do not respect the do-not-split-stacks setting

https://blockexchange.minetest.ch/schema/Huhhila/allow_splitting_off_not_respected_when_concurrent

so far only ever heard of other people reporting this with centrifuges,
but I think every node with the "allow splitting off" setting is affected.

Contributor guide

No contributing guide indexed for this repository

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 linked Huhhila schema report and reproduce the concurrently arriving stack case, using centrifuges as the reported example. Trace the handling of nodes with the "allow splitting off" setting; done means concurrent same-type stacks consistently respect that setting without splitting.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.