| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | |
|
| |\ \
| |/
|/| |
Add 'bolter' to the list of projects that use Bolt
|
| |/
|
| |
[bolter](https://github.com/hasit/bolter) is a command-line app for viewing BoltDB file in your terminal using [tablewriter](https://github.com/olekukonko/tablewriter).
|
| |\
| |
| | |
fix typo in README.md
|
| |/ |
|
| |\
| |
| | |
Add gopherpit to projects that use Bolt
|
| |/ |
|
| |\
| |
| | |
Fix Stats.Sub() for Stats.TxN.
|
| |/
|
|
|
|
| |
The subtraction for `TxN` was previously transposed which caused
the result to be a negative number. This change alters the order
to return the correct (positive) result.
|
| |\
| |
| | |
Update README.md
|
| |/
|
|
|
| |
Add warning to README.md that keys and values in `ForEach()` are
invalid outside of transaction.
|
| |\
| |
| | |
Update README.md
|
| | |
| |
| | |
Add anacrolix/torrent to users.
|
| |\ \
| | |
| | | |
README
|
| |/ /
| |
| | |
Added note to README that the file format is fixed.
|
| |\ \
| | |
| | | |
task#560 print leaf k/v with right value
|
| | | | |
|
| |\ \ \
| | | |
| | | | |
Correct broken unaligned load/store in armv5
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
armv5 devices and older (i.e. <= arm9 generation) require addresses that are
stored to and loaded from to to be 4-byte aligned.
If this is not the case the lower 2 bits of the address are cleared and the load
is performed in an unexpected order, including up to 3 bytes of data located
prior to the address.
Inlined buckets are stored after their key in a page and since there is no
guarantee that the key will be of a length that is a multiple of 4, it is
possible for unaligned load/stores to occur when they are cast back to bucket
and page pointer types.
The fix adds a new field to track whether the current architecture exhibits this
issue, sets it on module load for ARM architectures, and then on bucket open, if
this field is set and the address is unaligned, a byte-by-byte copy of the
inlined bucket is performed.
Ref: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/ka15414.html
|
| |\ \ \ \
| | | | |
| | | | | |
Compaction Command
|
| | | | | | |
|
| | |\ \ \ \
| | | | | |
| | | | | |
| | | | | | |
vincent-petithory-compact-db
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
compact rewrites a bolt db, recursively walking its keys
in byte order.
|
| |\ \ \ \ \ \
| |_|_|_|_|/
|/| | | | | |
Lower number of allocation in freelist.reindex()
|
| |/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Here is a profile taken etcd.
Before:
10924 10924 (flat, cum) 4.99% of Total
. . 230:
. . 231:// reindex rebuilds the free cache based on available and pending free lists.
. . 232:func (f *freelist) reindex() {
. . 233: f.cache = make(map[pgid]bool)
. . 234: for _, id := range f.ids {
10924 10924 235: f.cache[id] = true
. . 236: }
. . 237: for _, pendingIDs := range f.pending {
. . 238: for _, pendingID := range pendingIDs {
. . 239: f.cache[pendingID] = true
. . 240: }
After:
1 1 (flat, cum) 0.0017% of Total
. . 228: f.reindex()
. . 229:
} . . 230:
. . 231:// reindex rebuilds the free cache based on available and pending free lists.
. . 232:func (f *freelist) reindex() {
1 1 233: f.cache = make(map[pgid]bool, len(f.ids))
. . 234: for _, id := range f.ids {
. . 235: f.cache[id] = true
. . 236: }
. . 237: for _, pendingIDs := range f.pending {
. . 238: for _, pendingID := range pendingIDs {
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
Fix typo (Tx -> DB)
|
| | | |_|/ /
| |/| | | |
|
| |\ \ \ \ \
| |_|/ / /
|/| | | | |
Fix Go 1.7 pointer reference bug
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This commit fixes a bug where page end-of-header pointers were being
converted to byte slices even when the pointer did not point to
allocated memory. This occurs with pages that have a `page.count`
of zero.
Note: This was not an issue in Go 1.6 but the new Go 1.7 SSA backend
handles `nil` checks differently.
See https://github.com/golang/go/issues/16772
|
| |\ \ \ \
| |/ / /
|/| | | |
Update description of project using BoltDB
|
| |/ / / |
|
| |\ \ \
| | | |
| | | | |
added a BoltDB related project
|
| |/ / / |
|
| |\ \ \
| | | |
| | | | |
Added new project name in the list of projects using BoldDB
|
| | | | | |
|
| |\ \ \ \
| | | | |
| | | | | |
Fixes build error in README code
|
| |/ / / / |
|
| |\ \ \ \
| |/ / /
|/| | | |
Remove skydb of the README
|
| |/ / /
| | |
| | | |
I think that SkyDB is over, I could find any link to the project.
|
| | | | |
|
| |\ \ \
| | | |
| | | | |
Fixed typo in README
|
| | | | | |
|
| |\ \ \ \
| |/ / /
|/| | | |
Add MuLiFS to the list of projects using Bolt.
|
| |/ / / |
|
| | |/
|/| |
|
| |\ \
| | |
| | | |
Add SimpleBolt and Algernon
|
| |/ / |
|
| |\ \ |
|
| | | | |
|