Skip to content

Commit

Permalink
Merge pull request #9 from wojas/remove-lmdbpool
Browse files Browse the repository at this point in the history
Remove exp/lmdbpool
  • Loading branch information
wojas authored Apr 20, 2021
2 parents 33d501a + 84a9e1c commit e6e70de
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 406 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ First release of this PowerDNS/lmdb-go fork.
- Renamed module from `github.com/bmatsuo/lmdb-go` to `github.com/PowerDNS/lmdb-go` (#3, PR #7)
- Add `go.mod` and fix tests and Travis CI on recent Go versions (#5, PR #6)
- Fix: Cursor.Put would write "\x00" instead of an empty value (#1, PR #2)
- Remove experimental, never released `exp/lmdbpool` package (PR #9)
- lmdb: Update LMDB C library to version 0.9.28 (#4).

```
Expand Down
22 changes: 3 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ To use this package, update all your import paths from

This affects all versions starting from 1.9.0.

Note that the experimental, never released `exp/lmdbpool` package has
been removed in this fork.


## Packages

Expand Down Expand Up @@ -49,25 +52,6 @@ A utility package for scanning database ranges. The API is inspired by
[bufio.Scanner](https://godoc.org/bufio#Scanner) and the python cursor
[implementation](https://lmdb.readthedocs.org/en/release/#cursor-class).

#### exp/lmdbpool [![GoDoc](https://godoc.org/github.com/PowerDNS/lmdb-go/exp/lmdbpool?status.svg)](https://godoc.org/github.com/PowerDNS/lmdb-go/exp/lmdbpool) [![experimental](https://img.shields.io/badge/stability-experimental-red.svg)](#user-content-versioning-and-stability)


```go
import "github.com/PowerDNS/lmdb-go/exp/lmdbpool"
```

A utility package which facilitates reuse of lmdb.Txn objects using a
sync.Pool. Naively storing lmdb.Txn objects in sync.Pool can be troublesome.
And the lmdbpool.TxnPool type has been defined as a complete pooling solution
and as reference for applications attempting to write their own pooling
implementation.

The lmdbpool package is relatively new. But it has a lot of potential utility.
And once the lmdbpool API has been ironed out, and the implementation hardened
through use by real applications it can be integrated directly into the lmdb
package for more transparent integration. Please test this package and provide
feedback to speed this process up.

#### exp/lmdbsync [![GoDoc](https://godoc.org/github.com/PowerDNS/lmdb-go/exp/lmdbsync?status.svg)](https://godoc.org/github.com/PowerDNS/lmdb-go/exp/lmdbsync) [![experimental](https://img.shields.io/badge/stability-experimental-red.svg)](#user-content-versioning-and-stability)


Expand Down
28 changes: 0 additions & 28 deletions exp/lmdbpool/doc.go

This file was deleted.

12 changes: 0 additions & 12 deletions exp/lmdbpool/put.go

This file was deleted.

12 changes: 0 additions & 12 deletions exp/lmdbpool/putrace.go

This file was deleted.

Loading

0 comments on commit e6e70de

Please sign in to comment.