You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I performed a cursory search to see if the bug report is relevant, not redundant, nor in conflict with other tickets.
Describe the bug
Priority sorting of transactions is inaccurate.
To Reproduce
Steps to reproduce the behavior:
Set up two polling directories, dir 1 with non-zero priority, dir 2 with zero priority.
Disable CF wakeups
Copy file 1 to dir 1
Copy file 2 to dir 2
Enable CF wakeups (to ensure both transactions are processed the same wakeup)
Bug: file 1 will be sent before file 2 (file 2 will be placed in the pending queue afterfile 1)
Expected behavior file 2 should be prioritized over file 1, and placed in the pending queue beforefile 1
System observed on:
Hardware
OS: Oracle Linux 8
Suggested Fix
Create a new static inline function CF_CList_InsertFront_Ex in cf_utils.h
Replace CF_CList_InsertBack_Ex with CF_CList_InsertFront_Ex in CF_InsertSortPrio in cf_utils.c
and update variable name from insert_back to insert_front in CF_InsertSortPrio in cf_utils.c
Reporter Info
Corey Tolbert, JSC cFS team
The text was updated successfully, but these errors were encountered:
Checklist (Please check before submitting)
Describe the bug
Priority sorting of transactions is inaccurate.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
file 2 should be prioritized over file 1, and placed in the pending queue before file 1
System observed on:
Suggested Fix
Create a new static inline function CF_CList_InsertFront_Ex in cf_utils.h
Replace CF_CList_InsertBack_Ex with CF_CList_InsertFront_Ex in CF_InsertSortPrio in cf_utils.c
and update variable name from insert_back to insert_front in CF_InsertSortPrio in cf_utils.c
Reporter Info
Corey Tolbert, JSC cFS team
The text was updated successfully, but these errors were encountered: