MakeFragmentKey creates a new FragmentKey with the given queryID and fragmentID. It's used to track and identify fragments during distributed query execution.
(queryID uint64, fragmentID uint64)
| 13 | // MakeFragmentKey creates a new FragmentKey with the given queryID and fragmentID. |
| 14 | // It's used to track and identify fragments during distributed query execution. |
| 15 | func MakeFragmentKey(queryID uint64, fragmentID uint64) FragmentKey { |
| 16 | return FragmentKey{ |
| 17 | queryID: queryID, |
| 18 | fragmentID: fragmentID, |
| 19 | } |
| 20 | } |
| 21 | |
| 22 | // GetQueryID returns the queryID for the current key |
| 23 | // This ID is shared across all fragments of the same distributed query. |
no outgoing calls
no test coverage detected