-
Notifications
You must be signed in to change notification settings - Fork 653
Description
Bug Report: Synchronization Issues Between Nexus CLI and Web Dashboard Proving Points
To the Nexus Development Team,
I am writing to report inconsistent behavior and a potential bug concerning the synchronization of proving points between the Nexus CLI running on my machine and the official Nexus web dashboard.
Environment Details
Software: Nexus CLI (Latest Version)
Operating System: WSL (Windows Subsystem for Linux) - Ubuntu
Observed Behavior (The Bug)
I have observed a volatile and inconsistent pattern related to the collected proving points:
Initial Scenario: After the node starts, proving points on the CLI increase quite rapidly. After leaving it running for a period, the points on the CLI then stop increasing or drop to zero.
Web Dashboard Surge: Simultaneously with the CLI points stalling, the proving points displayed on the web dashboard will often surge significantly (sometimes up to 10 times the last observed amount).
Reset/Loss Scenario: When I monitor the dashboard again, the points that had accumulated on the web dashboard are frequently reset back to 0.
Sudden Fluctuation (Addition): Beyond the reset, I have also observed that points will spontaneously decrease on one interface (e.g., the CLI) and then be unexpectedly distributed or transferred to the other interface (the web dashboard), or vice versa. This indicates an asynchronous exchange or rejection of point claims between the two platforms.
This pattern repeats continuously, suggesting that one interface overwrites, reclaims, or cancels the claim data from the other. This raises concerns that the collected points are not being reconciled correctly across platforms, potentially causing valid points to be lost or prematurely reset.
Hypothesis and Recommendation
I suspect this inconsistency may be related to a point claiming mechanism that has a lengthy time constraint (e.g., a 24-hour claim window) or a lock conflict when both interfaces attempt to update the total point count simultaneously.
Suggested Improvement:
I recommend that the development team consider changing the point claiming mechanism to be real-time or near real-time. Allowing instant claiming could prevent scenarios where one interface (the CLI) claims the same points or overwrites points already claimed by the other interface (the Web Dashboard), thereby avoiding the frequent resets and point splitting phenomena I have experienced.
Thank you for your time and attention to this critical issue. I am ready to provide any necessary log data or additional information to assist the debugging process.
Sincerely,