markzhai / markzhai/init

异步链没有按顺序执行

Open
#6 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
273
Forks
42
PR merge metrics
No merged PRs in 30d

Description

执行demo的时候发现异步链没有按顺序执行,问题应该在于Status这个类中,因为STATUS_UNKNOWN、STATUS_EXECUTING、STATUS_DONE都为0,修改STATUS_EXECUTING=1,STATUS_DONE=2后输出的log正确

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 by locating the Status class named in the issue and inspect the STATUS_UNKNOWN, STATUS_EXECUTING, and STATUS_DONE constants. Run the referenced demo and compare its log order before and after the status values are corrected; done means the asynchronous chain executes in order.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.