+4828. [bug] Do not use thread-local storage for storing LMDB reader
+ locktable slots. [RT #46556]
+
4827. [misc] Add a precommit check script util/checklibs.sh
[RT #46215]
}
}
+ /*
+ * MDB_NOTLS is used to prevent problems after configuration is
+ * reloaded, due to the way LMDB's use of thread-local storage (TLS)
+ * interacts with the BIND9 thread model.
+ */
status = mdb_env_open(env, view->new_zone_db,
- MDB_NOSUBDIR|MDB_CREATE, 0600);
+ MDB_NOSUBDIR|MDB_NOTLS|MDB_CREATE, 0600);
if (status != 0) {
isc_log_write(dns_lctx, DNS_LOGCATEGORY_GENERAL,
ISC_LOGMODULE_OTHER, ISC_LOG_ERROR,
}
}
+ /*
+ * MDB_NOTLS is used to prevent problems after configuration is
+ * reloaded, due to the way LMDB's use of thread-local storage (TLS)
+ * interacts with the BIND9 thread model.
+ */
status = mdb_env_open(env, view->new_zone_db,
- MDB_NOSUBDIR|MDB_CREATE, 0600);
+ MDB_NOSUBDIR|MDB_NOTLS|MDB_CREATE, 0600);
if (status != 0) {
isc_log_write(dns_lctx, DNS_LOGCATEGORY_GENERAL,
ISC_LOGMODULE_OTHER, ISC_LOG_ERROR,