The database server should support graceful shutdown behaviour to ensure client connections are not closed abruptly and in-flight requests are handled properly.
Features to be implemented:
- The server should stop accepting new requests after shutdown is initiated.
- All active requests should be processed fully before any connections are closed.
- Clients should be notified that the server is shutting down so they can stop sending further requests.
- Once all client connections are idle or completed, the server should shut down cleanly.
The database server should support graceful shutdown behaviour to ensure client connections are not closed abruptly and in-flight requests are handled properly.
Features to be implemented: