summaryrefslogtreecommitdiff
path: root/d0/46dfe76d03dee7cfd459d15ea6f505a96941b5
blob: 299943a79f5bdf8fb513262b771479da5343bb72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
Return-Path: <joroark@vt.edu>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id DFBAF7AE
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon, 26 Oct 2015 19:26:25 +0000 (UTC)
X-Greylist: delayed 01:19:17 by SQLgrey-1.7.6
Received: from omr1.cc.vt.edu (outbound.smtp.vt.edu [198.82.183.121])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 40658A9
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon, 26 Oct 2015 19:26:25 +0000 (UTC)
Received: from mr6.cc.vt.edu (mr6.cc.ipv6.vt.edu
	[IPv6:2001:468:c80:2105:0:250:3bcb:5b17])
	by omr1.cc.vt.edu (8.14.4/8.14.4) with ESMTP id t9QI76Vp014134
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon, 26 Oct 2015 14:07:07 -0400
Received: from mail-pa0-x235.google.com (mail-pa0-x235.google.com
	[IPv6:2607:f8b0:400e:c03::235])
	by mr6.cc.vt.edu (8.14.4/8.14.4) with ESMTP id t9QI71uW020977
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon, 26 Oct 2015 14:07:06 -0400
Received: by padhk11 with SMTP id hk11so195203881pad.1
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon, 26 Oct 2015 11:07:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=vt_edu.20150623.gappssmtp.com; s=20150623;
	h=subject:to:references:from:message-id:date:user-agent:mime-version
	:in-reply-to:content-type:content-transfer-encoding;
	bh=/1tV/cy7Sd7D4cGKAvNXtltyRj9s1P2xZQ747gcjAPU=;
	b=vWoBmS7hF0N3mDrBC7HYU1/voop9UzZfF/n2WiRLlbGgxrLIH+mRbK9fne/UfSgE9U
	gCQzZs1o8VleAYPxuGrkTPtRwaoLWASh4sc4E1JplSeSjp0YmNtt1eqttgWMs2m9Jw6W
	xvG6mTgE+OB1tAk+ulN1dfKVpqx9Evobb+za1XzSOuc5ANyIwRxssXaSM8j3qEVIAsqh
	4Zz1Uoltp4vr+9Sh/PsmoXQUKG7t9z/REEwGWXbzJ9EVAgcwnWGifSAHVmmzCRqLUmRn
	B+7LKghM9OzvA5fJ5mQYaLb2/GcpdngWn8K+g2HlGS7s4USYK3QmkyzGgO68RKqAVHb3
	OR0Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:subject:to:references:from:message-id:date
	:user-agent:mime-version:in-reply-to:content-type
	:content-transfer-encoding;
	bh=/1tV/cy7Sd7D4cGKAvNXtltyRj9s1P2xZQ747gcjAPU=;
	b=KD2Ga07knOct+5rmmp3L4yJrCCKrcLBDdFepD7TzqP0+puer+G1Sj00vaa5581n9ym
	LbKadUp9Lk4aivRWHlxNRbZ5O5GB4CT6D9+tsb8PhtzWtVs824JXJWWGIygRsKyBgDTO
	HVlgZZBX8gu8BKUcdwyFDSPrHnW4pYRvxWF4RW7BU4PMqSEltckWpR/8ofmNjIY/lZXX
	zzjteWFUm2C8AA18YlHhM4/xEjERHUsc06r/D3QTVHjkB2WnBtiI2wGeLXiLDLWaxJZb
	0wQ4WMUKSX+rC+nnDKQYwiwyOnvbkLNwklob+fEx6UDz1sHx6Kt9ek0NTvdJjagbsMdZ
	VSJQ==
X-Gm-Message-State: ALoCoQkB68DDWXomT4OeqzmYaJOSfjdVs9gZiBxOTkJfUKeP+N13+UmbaBYyqtWfYpOiDYtCQIhn0/xo3BK0IFQ31nx0SSAQ5A/M7eV6PlgXIsYSbZZ1nj224XBp39fmEkB//fcCpyoGYf7bUo7t9dg08ZBG7sB5RLVVolPJa80IzkYfoXpFNa6IPIB9RWjKcnqWLA/XYa7bW21VRGKvbcsHUuHJOpjLDg==
X-Received: by 10.68.203.2 with SMTP id km2mr23056689pbc.155.1445882821121;
	Mon, 26 Oct 2015 11:07:01 -0700 (PDT)
X-Received: by 10.68.203.2 with SMTP id km2mr23056680pbc.155.1445882820999;
	Mon, 26 Oct 2015 11:07:00 -0700 (PDT)
Received: from [192.168.1.230] (c-24-22-36-12.hsd1.or.comcast.net.
	[24.22.36.12]) by smtp.googlemail.com with ESMTPSA id
	g12sm35308427pat.36.2015.10.26.11.07.00
	for <bitcoin-dev@lists.linuxfoundation.org>
	(version=TLSv1/SSLv3 cipher=OTHER);
	Mon, 26 Oct 2015 11:07:00 -0700 (PDT)
To: bitcoin-dev@lists.linuxfoundation.org
References: <CADm_WcaLQzigsdmFR43JqiCYJVpmqkhVDc8GiVG=UN+Z1zg7+w@mail.gmail.com>
	<3162730.lzR74nC3xW@garp>
From: Douglas Roark <joroark@vt.edu>
X-Enigmail-Draft-Status: N1110
Message-ID: <562E6BC0.7010002@vt.edu>
Date: Mon, 26 Oct 2015 11:06:56 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0)
	Gecko/20100101 Thunderbird/38.3.0
MIME-Version: 1.0
In-Reply-To: <3162730.lzR74nC3xW@garp>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID, RCVD_IN_DNSWL_MED,
	RP_MATCHES_RCVD autolearn=ham version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	smtp1.linux-foundation.org
X-Mailman-Approved-At: Tue, 27 Oct 2015 00:10:24 +0000
Subject: Re: [bitcoin-dev] [patch] Switching Bitcoin Core to sqlite db
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Bitcoin Development Discussion <bitcoin-dev.lists.linuxfoundation.org>
List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>,
	<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>,
	<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Oct 2015 19:26:26 -0000

On 2015/10/23 03:30, Tom Zander via bitcoin-dev wrote:
> On Thursday 22 Oct 2015 17:26:42 Jeff Garzik via bitcoin-dev wrote:
>> It was noted that leveldb is unmaintained, and this is part of researching
>> alternatives that are maintained and reliable.
> 
> Apart from it being unmaintained, any links to what are problems with levelDB?

While not exactly the most rigorous link,
https://en.wikipedia.org/wiki/LevelDB#Bugs_and_Reliability seems like an
okay place to start. One thing I can attest to is that, when Armory used
LevelDB (0.8 - 0.92, IIRC), quite a few users had DB corruption issues,
particularly on Windows. Even when a switch to LMDB occurred for 0.93,
loads of complaints would come in from users whose LevelDB-based Core
DBs would fail. I know that the guy who moved Armory over to LMDB would
love to have more time in the day so that he could write a Core patch
that does the same. It's a very sore spot for him.

(FWIW, LMDB seems to work quite nicely, at least once you patch up the
source a little bit. The latest version is also compatible with Core's
cross-compiling scheme. I'd love to see it added to Core one day.)

Doug