antirez
ee789e157c
Dump ziplist hex value on failed assertion.
...
The ziplist -> hashtable conversion code is triggered every time an hash
value must be promoted to a full hash table because the number or size of
elements reached the threshold.
If a problem in the ziplist causes the same field to be present
multiple times, the assertion of successful addition of the element
inside the hash table will fail, crashing server with a failed
assertion, but providing little information about the problem.
This code adds a new logging function to perform the hex dump of binary
data, and makes sure that the ziplist -> hashtable conversion code uses
this new logging facility to dump the content of the ziplist when the
assertion fails.
This change was originally made in order to investigate issue #547 .
2012-06-12 00:41:48 +02:00
..
2012-04-13 17:52:33 -07:00
2012-03-13 18:05:11 +01:00
2012-03-13 18:05:11 +01:00
2011-12-15 11:50:15 +01:00
2012-05-15 11:19:01 +02:00
2011-12-15 11:42:40 +01:00
2010-07-01 14:38:51 +02:00
2012-05-23 11:33:32 +02:00
2011-12-15 11:42:40 +01:00
2012-04-11 17:04:31 +02:00
2011-10-10 11:21:15 -07:00
2012-05-25 12:11:30 +02:00
2011-04-13 10:58:21 +02:00
2012-03-27 13:48:57 +02:00
2011-09-15 18:25:53 +02:00
2012-05-31 21:52:47 +02:00
2012-04-24 11:28:10 +02:00
2012-04-18 11:31:24 +02:00
2012-05-15 11:18:54 +02:00
2011-10-02 14:05:29 +02:00
2012-04-09 12:20:47 +02:00
2012-05-01 10:52:03 +02:00
2012-06-12 00:41:48 +02:00
2012-04-21 21:49:21 +02:00
2012-01-21 23:30:13 +01:00
2012-02-14 16:11:46 +01:00
2012-02-15 12:21:04 +01:00
2011-09-29 10:20:03 +02:00
2012-04-27 15:57:27 +02:00
2012-02-14 16:11:46 +01:00
2011-02-28 14:48:49 +01:00
2010-07-01 14:38:51 +02:00
2010-07-01 14:38:51 +02:00
2010-07-01 14:38:51 +02:00
2010-07-01 14:38:51 +02:00
2012-05-24 15:20:06 +02:00
2012-04-11 12:12:30 +02:00
2012-04-27 16:29:44 +02:00
2010-07-01 14:38:51 +02:00
2012-03-20 17:32:48 +01:00
2012-04-07 11:14:52 +02:00
2012-04-02 11:56:03 +02:00
2010-07-01 14:38:51 +02:00
2010-07-01 14:38:51 +02:00
2012-02-04 08:58:37 +01:00
2011-09-23 14:51:48 +02:00
2011-09-23 15:06:07 +02:00
2012-06-02 10:21:57 +02:00
2012-06-02 10:24:27 +02:00
2012-02-26 10:01:27 +01:00
2012-02-14 19:57:51 +01:00
2012-04-24 19:05:27 +02:00
2012-05-14 17:35:51 +02:00
2012-03-31 11:28:37 +02:00
2012-05-25 12:11:30 +02:00
2012-06-12 00:41:48 +02:00
2010-07-01 14:38:51 +02:00
2012-05-24 11:35:21 +02:00
2012-04-09 12:36:44 +02:00
2012-04-11 11:58:32 +02:00
2012-04-27 11:41:25 +02:00
2012-03-30 21:19:51 +02:00
2012-03-30 21:19:51 +02:00
2011-03-09 15:44:21 +01:00
2010-07-01 14:38:51 +02:00
2012-04-21 20:34:45 +02:00
2012-04-21 20:34:45 +02:00
2010-09-06 10:12:44 +02:00
2012-04-18 11:37:14 +02:00
2012-05-02 22:41:50 +02:00
2012-06-12 00:41:48 +02:00
2012-04-18 17:38:02 +02:00
2012-04-07 14:40:29 +02:00
2012-05-24 15:19:51 +02:00
2012-05-23 11:12:43 +02:00
2011-11-02 16:52:10 +01:00
2012-03-09 22:07:45 +01:00
2012-01-02 15:24:50 -08:00
2011-07-06 15:22:00 +02:00
2012-04-10 16:34:33 +02:00
2012-05-06 10:06:21 +02:00
2012-01-03 16:13:42 -08:00
2012-04-07 14:40:29 +02:00
2011-02-28 09:56:48 +01:00
2012-03-27 16:54:53 +02:00
2012-05-16 11:09:45 +02:00