alytantawyy commented on PR #55464:
URL: https://github.com/apache/arrow/pull/55464#issuecomment-7092278462

   > "Another approach here could be to require filesystem modules to complete 
registration during initialization before concurrent lookups begin - this could 
also be documented and clarified as the intended registration contract" is 
better but I want to keep `garrow_file_system_register_type()` for the API that 
is used by the initialization phase.
   
   @kou I kept `garrow_file_system_register_type()` and documented that 
registration must finish sequentially during initialization, before concurrent 
lookups begin. This also covers direct GIO registration and module-triggered 
registration.
   
   I removed the private mutex because direct GIO calls bypassed it. The 
function-local static still provides one-time initialization of the extension 
point and built-in registrations.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to