Erratic timestamp ordering in File Storage System view.
See original GitHub issueDescribe the bug At first, when adding new files to the internal storage system, the timestamps are ordered from oldest to newest.
But as you add for files to the system, the timestamps start to make no sense in terms of order.
To Reproduce the bug Steps to reproduce the reported bug:
- Enable the file system
- Add a bunch of files to your local file system
- See the timestamps start to become erratic
Expected behavior
The default visual order of the files should be old to new
, or new to old
.
Screenshots
As seen in screenshot, timestamps are inconsistent. This seems to have no relation to alphabetical order either. This seems to have an impact on files uploaded on the same day only.
Your BTCPay Environment (please complete the following information):
- BTCPay Server Version: v1.0.6.8
- Deployment Method: Lunanode
- Browser: Chrome & Firefox
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Timestamp based Concurrency Control
... Top 50 Array Problems · Top 50 String Problems ... The timestamp ordering protocol ensures that any conflicting read and write ...
Read more >DBMS Timestamp Ordering Protocol
DBMS Timestamp Ordering Protocol with DBMS Overview, DBMS vs Files System, ... Database Security Problems with ER Model Advantages of DBMS Advantages and ......
Read more >Timestamp Ordering Protocols: Benefits and Drawbacks
Learn how timestamp ordering protocols ensure data consistency and avoid deadlock in database systems, and what are their pros and cons.
Read more >Sharding of timestamp-ordered data in Cloud Spanner
Sharding of timestamp-ordered data in Cloud Spanner ... nodes that service new splits become hotspots due to uneven key distribution.
Read more >Unifying Timestamp with Transaction Ordering for MVCC ...
This paper presents DST, a decentralized scalar timestamp scheme to scale distributed transactions using multi-version concurrency control (MVCC).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Zaxounette yeah, the current code doesn’t guarantee that things will be ordered by the timestamp as far as I can tell so things can show up out of order. If we wanted to I could make it so that the items are ordered by the timestamped when being shown to the user if that’s the behavior we want. I guess we could also have a sortable table so the user can view things from latest to oldest and vice-versa.
I think adding by timestamp would be a good starting point, but sortable table is even better idea as well, concept ack from my end.