5012586ed3a75857ced48302bf0b8a8dc049796a |
|
29-Mar-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-dict: Keep a linked list of all transactions in dict.
This helps debugging if a transaction is leaked. |
f32da6b73c1edb6963eae0d4a5c1f995ad23151a |
|
23-Mar-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lib-dict: Track transaction counts |
d70bf110f2f37ab5315a250c2367f164069755ad |
|
23-Mar-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lib-dict: Add dict-fail driver
It can be used for providing various failures |
b198cd6da331eb55d300b0e83f59695c58d5885c |
|
17-Jan-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-dict: Add assert to make sure all iterators are deinitialized. |
e28b4fc2b62be020156a857485b61842b3b5d791 |
|
10-Jan-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-dict: Add dict_transaction_set_timestamp() |
6acd1a48e1377e74d3008288e5e95e006f41265c |
|
17-Oct-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-dict: Added dict_iterate_set_limit() |
aef407f147034a569591c0f59593342a8c7b39ea |
|
17-Aug-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-dict: Added dict_transaction_no_slowness_warning() |
701eb90460d6c57845dc4e0bf595a5d0b90b01c1 |
|
01-Jul-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
dict-client: Don't log slow background async commit/iteration replies.
If a caller has already finished iteration, or does async commit without a
callback, it means that it started the query without caring when it
finishes. The caller may already have been doing blocking work while
waiting for the dict reply. We don't want to log a warning, because it
could be completely wrong. |
a5ec9755556e3d97d7e6d78cb1b53046370e6598 |
|
20-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-dict: Added dict_switch_ioloop() |
0dffa25d211be541ee3c953b23566a1a990789df |
|
06-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: unsigned int:1 -> bool:1
perl -i -pe 's/unsigned int ([^,:;]+):1;/bool $1:1;/' **/*.[ch] |
c2a66e7950cb4d3fc4d68e4480ea8f39bdd7c871 |
|
08-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-dict: Changed internal transaction_commit() to return void
Somewhat simplifies the code now that it doesn't have to both call a
callback and return the same ret. |
055389c58fa3915e12fb4e72ec86782ce77c5c72 |
|
08-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-dict: dict_iterate_deinit() returns now error string |
c4478af52de63804efef2055580adf1dfc8679c6 |
|
08-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-dict: Changed dict_wait() to return void.
If it encounters any failures, it should just make sure to abort any pending
async requests before returning. |
b5052fbfdbc2678cc8f12899afe55c998f43b740 |
|
08-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-dict: dict_lookup() returns now error string |
373b27178af59c8579967c126e7c2c002974d095 |
|
21-Apr-2016 |
Baofeng Wang <baofeng.wang@dovecot.fi> |
lib-dict: remove dict_append()
Remove all *_dict_append and redis_append functions and corresponding
command from lib-dict. |
d694b6009574ee6e3cfaee3834cbdbcd431affb0 |
|
02-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
lib-dict: Added async API for lookup and iteration. |
39ea5717264668e2c7f9f7986eb821d21785f47f |
|
28-Aug-2014 |
Timo Sirainen <tss@iki.fi> |
lib-dict: Changed dict.init() API to take struct dict_settings and added dict_init_full().
This allows giving more settings to dict in future as needed. Unfortunately
it also breaks the internal dict API, but there aren't really any plugins
widely using it, so it's not a big problem. |
9686ada8061745b4b8753572f6c04b7a27a8544e |
|
08-Dec-2013 |
Timo Sirainen <tss@iki.fi> |
lib-dict: Added "fs" wrapper dict backend, which uses lib-fs.
Each dict key is a separate file where the file's contents are the dict
value. |
09b15d7b0619e8a1ad5a78b1f86b864a7f76b3c7 |
|
21-Jan-2013 |
Timo Sirainen <tss@iki.fi> |
dict: Added support for cdb backend.
Based on patch by Hleb Valoshka. |
eca38954bcf972618f6b85932a3690acbd2b673a |
|
13-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
lib-dict: dict_init() now returns error string instead of logging it |
10399559650f552a23949772be79eb6a80198c5a |
|
15-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
dict_init() API changed to return int. |
75bb83681e30d6a86109bbafdfe6b513c11124bc |
|
15-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
lib-dict: Added memcached_ascii backend. |
2aed6c2062317d1750f59c5c88e77d9f10967462 |
|
14-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
dict: Implemented dict_append() |
fefd62f9aaccecbc6011ecae359a3389668cbff5 |
|
23-Jul-2012 |
Timo Sirainen <tss@iki.fi> |
lib-dict: Added memcached backend using its binary protocol. |
31257b47d47510ceb093a6b218810a1a5b830c55 |
|
08-Jul-2012 |
Timo Sirainen <tss@iki.fi> |
lib-dict: Added initial version of Redis support.
The code is a bit ugly and doesn't handle anything except key lookups. |
9c7f6dbf65ca01026e5f9c8c8b67c7e629c0b5e7 |
|
18-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
dict: Added dict_iterate_init_multiple().
--HG--
branch : HEAD |
8d25b6ad05b99e75613cb045a121efd51e6afbb6 |
|
07-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-dict: Changed dict_iterate API.
--HG--
branch : HEAD |
3954326e793bdef1e94e0ad781ed6cc7e48beebb |
|
07-Sep-2009 |
Timo Sirainen <tss@iki.fi> |
dict: Added support for async commits. Changed dict_atomic_inc() behavior.
--HG--
branch : HEAD |
4073f0dbf3277f981a8fcee3b89ea15aaf380a7f |
|
28-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
dict proxy: Use base_dir as the default dict-server location.
--HG--
branch : HEAD |
d3fce898d31ad40b554c91f3035a7f4d7d52ed52 |
|
19-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Added dict_transaction_commit_async().
--HG--
branch : HEAD |
e3fabe8d0faa9aab7cae2d0eee9653f581a3061d |
|
19-Oct-2008 |
Timo Sirainen <tss@iki.fi> |
Added a simple flat file dict backend.
--HG--
branch : HEAD |
c25356d5978632df6203437e1953bcb29e0c736f |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Changed .h ifdef/defines to use <NAME>_H format.
--HG--
branch : HEAD |
419cf63077e755935ce105747d6ebc67b7d38a7f |
|
30-Jul-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Berkeley DB dict support is now enabled only when using --with-db configure option.
--HG--
branch : HEAD |
92d1458b00f4f236c4cec96a696253d3bbf8b05a |
|
30-Jul-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Dictionary changes: Added support for defining value's type. Key is still always a string. Added support for sorting the iteration replies. Added dict_unset(). Added Berkeley DB support. Most of the code written by Tianyan Liu.
--HG--
branch : HEAD |
2be7df5df08ac4639ad83559ec5fcf552c84fb4a |
|
30-Jul-2006 |
Timo Sirainen <tss@iki.fi> |
If invalid key is given to dict_set() or dict_atomic_inc() fail the whole
transaction in commit. Keep track of changes that are actually done, so if
nothing has changed in transaction don't even bother to commit it.
--HG--
branch : HEAD |
9844b5359f5cab77e4c31a7ac9e4a60a0073929e |
|
31-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Dictionary takes now a username parameter, which is used for private
queries. Made dict-sql use "insert .. on duplicate key update" syntax, which
unfortunately doesn't work with PostgreSQL yet.
--HG--
branch : HEAD |
6ef7e31619edfaa17ed044b45861d106a86191ef |
|
13-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Added "bool" type and changed all ints that were used as booleans to bool.
--HG--
branch : HEAD |
f8ead0942a9b7c8fcf91414ed1b534d5807ca555 |
|
30-Dec-2005 |
Timo Sirainen <tss@iki.fi> |
Added dictinary lookup server and a "proxy" dict implementation to talk to
it.
--HG--
branch : HEAD |
28c75d59f1d1a7caeb85635964f3881c0038eb23 |
|
10-Dec-2005 |
Timo Sirainen <tss@iki.fi> |
Added dictionary API and implementation for SQL. It's meant for looking and
modifying key=value pairs. In future we may need to use this for many
different things, but for now it's only used by quota-dict plugin.
--HG--
branch : HEAD |