lib/rplan: removed long-lived wr transactions
the reason is that LMDB allows only 1 write transaction per thread, and this doesn’t work well with multiplexed requests. there is probably going to be some performance hit, but now transactions are scoped for each cache operation
Showing
- lib/layer/itercache.c 25 additions, 14 deletionslib/layer/itercache.c
- lib/resolve.c 4 additions, 6 deletionslib/resolve.c
- lib/rplan.c 7 additions, 54 deletionslib/rplan.c
- lib/rplan.h 0 additions, 19 deletionslib/rplan.h
- tests/test_rplan.c 0 additions, 4 deletionstests/test_rplan.c
- tests/testdata/iter_cname_qnamecopy.rpl 1 addition, 1 deletiontests/testdata/iter_cname_qnamecopy.rpl
Please register or sign in to comment