WiredTiger: Connection close

| Version 3.1.0

Fork me on GitHub Join my user group
Connection close

Closing a WT_CONNECTION:: handle can be expensive, in part because of the cost of freeing memory (for example, the memory allocated for a large cache). If the process is exiting regardless, configuring WT_CONNECTION::close to leak memory on close can significantly speed up the close.

An example of configuring WT_CONNECTION::close to leak memory:

error_check(conn->close(conn, "leak_memory=true"));