philip-davis / dataspaces

Git Home of the RDI2 DataSpaces Project
BSD 2-Clause "Simplified" License
4 stars 1 forks source link

IB timing issue with multiple server processes #42

Closed philip-davis closed 6 years ago

philip-davis commented 6 years ago

We need a barrier at the end of server allocation. Currently, the master server can begin operation before the other processes are ready. This is a problem because we process startup events during ds_disseminate_all. When we do the DART allocation, some rpc handlers have already been registered at the DataSpaces layer, but the structures they rely upon have not all been initialized. So the trap we can currently fall into is for dataspaces rpcs to start processing while we're still in the client registration phase on non-master servers.