| Previous | Next |
| ERROR_LOG_NOT_ENOUGH_CONTAINERS | ERROR_LOG_CLIENT_NOT_REGISTERED |
ERROR_LOG_CLIENT_ALREADY_REGISTERED
The CLFS management client has already been registered
A managed CLFS client registers callbacks and receives a client cookie used by later management routines. Registration establishes management state for log growth and tail-advance handling. This error points to duplicate registration of the same client state, not to multiple independent clients in general; Microsoft documents that more than one client can register with a log stream.
Trace registration ownership and retain the client cookie returned by the first successful call. Startup retry code should distinguish an incomplete registration attempt from a completed one, and component reload paths must deregister the old client before constructing replacement state. Because callbacks can be invoked as soon as registration occurs, protect the transition carefully: setting a global "registered" flag only after lengthy initialization can leave a window where a second thread registers again.
What to inspect
- Record successful registration and the associated client cookie in one owner object.
- Serialize startup/reload registration around the same log stream.
- Make callback state ready before registration and deregister exactly once during teardown.
References
- Microsoft: ClfsMgmtRegisterManagedClient and managed-client cookies
- Microsoft: ClfsLogGrowthCompleteCallback and asynchronous log-full completion
- Microsoft: ClfsMgmtHandleLogFileFull growth and tail-advance workflow
Looking for a different code? Search another status or error code.
