Victor Porof
|
2b0ececa3f
|
Update version to 0.15
Signed-off-by: Victor Porof <victor.porof@gmail.com>
|
4 years ago |
Victor Porof
|
a6a9042ec8
|
Merge pull request #203 from mozilla/ignore-more
Ignore file invalid errors when migrating
|
4 years ago |
Victor Porof
|
d74250b549
|
Make migration methods and error handling less surprising
Signed-off-by: Victor Porof <victor.porof@gmail.com>
|
4 years ago |
Victor Porof
|
6e04f6a117
|
Add tests
Signed-off-by: Victor Porof <victor.porof@gmail.com>
|
4 years ago |
Victor Porof
|
1c892355b7
|
Ignore file invalid errors when migrating
Signed-off-by: Victor Porof <victor.porof@gmail.com>
|
4 years ago |
Victor Porof
|
7fd0c83d14
|
Update version to 0.14.1
Signed-off-by: Victor Porof <victor.porof@gmail.com>
|
4 years ago |
Victor Porof
|
4ebabdba4f
|
Merge pull request #202 from mozilla/ignore-io-error
Small migration helper followups
|
4 years ago |
Victor Porof
|
a2b4f2cc77
|
Add ability to disable path canonicalization
Signed-off-by: Victor Porof <victor.porof@gmail.com>
|
4 years ago |
Victor Porof
|
99203b05c7
|
Ignore source environment path errors when migrating, as per documentation
Signed-off-by: Victor Porof <victor.porof@gmail.com>
|
4 years ago |
Victor Porof
|
efa7ed63a1
|
Update version to 0.14
Signed-off-by: Victor Porof <victor.porof@gmail.com>
|
4 years ago |
Victor Porof
|
5e2d0d6764
|
Merge pull request #201 from mozilla/easy-migration
Make migration easier for consumers
|
4 years ago |
Victor Porof
|
84b74b7610
|
Handle NO_LOCK when opening environments
Signed-off-by: Victor Porof <victor.porof@gmail.com>
|
4 years ago |
Victor Porof
|
b2f4f097c6
|
Handle NO_LOCK and NO_SUB_DIR when retrieving environment files
Signed-off-by: Victor Porof <victor.porof@gmail.com>
|
4 years ago |
Victor Porof
|
a634920d46
|
Remove `set_check_if_env_exists` since it's unreliable with LMDB
Signed-off-by: Victor Porof <victor.porof@gmail.com>
|
4 years ago |
Victor Porof
|
bada6fec6f
|
Make migration easier for consumers
Signed-off-by: Victor Porof <victor.porof@gmail.com>
|
4 years ago |
Victor Porof
|
d1fef9a2c8
|
Update version to 0.13
Signed-off-by: Victor Porof <victor.porof@gmail.com>
|
4 years ago |
Victor Porof
|
cf410ad6de
|
Update old comments with incorrect info in tests
Signed-off-by: Victor Porof <victor.porof@gmail.com>
|
4 years ago |
Victor Porof
|
a6a616ad3d
|
Merge pull request #200 from mozilla/migrator
Implement a simple migrator between multiple backends
|
4 years ago |
Victor Porof
|
ceda0d5091
|
Implement a basic migrator that works across backends
Signed-off-by: Victor Porof <victor.porof@gmail.com>
|
4 years ago |
Victor Porof
|
0fd756d5d9
|
Add ability to list all created dbs
Signed-off-by: Victor Porof <victor.porof@gmail.com>
|
4 years ago |
Victor Porof
|
55d04b43ad
|
Move current migrator to a legacy module
Signed-off-by: Victor Porof <victor.porof@gmail.com>
|
4 years ago |
Victor Porof
|
3c502c4bb4
|
Pre: Iterators shouldn't wrap values in options
Signed-off-by: Victor Porof <victor.porof@gmail.com>
|
4 years ago |
Victor Porof
|
42c5c2c1b1
|
Remove leftover/unused `OtherError`
|
4 years ago |
Victor Porof
|
5d14812cc9
|
Hide DUP_FIXED behind the same build flag as DUP_SORT
|
4 years ago |
Victor Porof
|
a252a50fd9
|
Update version to 0.12
Signed-off-by: Victor Porof <victor.porof@gmail.com>
|
4 years ago |
Victor Porof
|
850f7c571a
|
Merge pull request #196 from mozilla/create-dirs
Allow creating dirs if they don't exist
|
4 years ago |
Victor Porof
|
21a1e50029
|
Merge pull request #199 from mozilla/load-ratio
Graciously handle backends with no need for resizing, instead of throwing unimplemented!()
|
4 years ago |
Victor Porof
|
2f6d01404d
|
Merge pull request #198 from mozilla/inconsistent_max_dbs
Fix inconsistent max_dbs behavior between backends
|
4 years ago |
Victor Porof
|
ef64a29fc7
|
Fix inconsistent max_dbs behavior between backends
Signed-off-by: Victor Porof <victor.porof@gmail.com>
|
4 years ago |
Victor Porof
|
71de0e836d
|
Graciously handle backends with no need for resizing, instead of panicking
Signed-off-by: Victor Porof <victor.porof@gmail.com>
|
4 years ago |
Victor Porof
|
a8cef4ee1a
|
Allow creating dirs if they don't exist
Signed-off-by: Victor Porof <victor.porof@gmail.com>
|
4 years ago |
Victor Porof
|
219ba8cbb9
|
Update version to 0.11.2
Signed-off-by: Victor Porof <victor.porof@gmail.com>
|
4 years ago |
Victor Porof
|
6700d0275f
|
Merge pull request #178 from mozilla/safe-mode
Merge 'safe mode' to master, do a major version bump
|
4 years ago |
Victor Porof
|
174221ebb8
|
Use a more recent nightly version for testing on travis
Signed-off-by: Victor Porof <victor.porof@gmail.com>
|
4 years ago |
Victor Porof
|
b6001e9b12
|
Use a more recent stable version for testing on travis
Signed-off-by: Victor Porof <victor.porof@gmail.com>
|
4 years ago |
Victor Porof
|
9fe69b11ce
|
Update crate documentation, more consistent formatting
Signed-off-by: Victor Porof <victor.porof@gmail.com>
|
4 years ago |
Victor Porof
|
d33e79fcd1
|
Minor clippy warning fixes
|
4 years ago |
Victor
|
e3c3388e66
|
Merge branch 'master' into safe-mode
Signed-off-by: Victor <victor.porof@gmail.com>
|
4 years ago |
Victor Porof
|
59ccf6c25c
|
Merge pull request #193 from emilio/master
Update lmdb.
|
4 years ago |
Emilio Cobos Álvarez
|
ed5654ef66
|
Update lmdb.
|
4 years ago |
Victor
|
e4b207c573
|
Update version to 0.10.3
Signed-off-by: Victor <victor.porof@gmail.com>
|
4 years ago |
Victor Porof
|
887656b6a1
|
Merge pull request #184 from glandium/uuid
Update uuid to 0.8
|
4 years ago |
Mike Hommey
|
b92309af67
|
Update uuid to 0.8
|
4 years ago |
Michael Cooper
|
7da5bd021d
|
Fix bug number for LMDB crash (#183)
|
4 years ago |
Victor Porof
|
997a418dca
|
Merge pull request #182 from mozilla/move-tests
Move tests to the `tests` directory to allow vendoring into m-c
|
5 years ago |
Victor Porof
|
c19b6a7e23
|
Merge pull request #181 from mozilla/errors
Error ergonomics
|
5 years ago |
Victor Porof
|
666bb241e1
|
Merge pull request #180 from mozilla/exports
Make backend-related documentation easier to understand
|
5 years ago |
Victor Porof
|
9f2889989f
|
Merge pull request #179 from mozilla/fail-on-create
Opening should fail when read transactions exist for `open` and `create` operations
|
5 years ago |
Victor Porof
|
c433e63551
|
Move tests to the `tests` directory to allow vendoring into m-c
Signed-off-by: Victor Porof <victor.porof@gmail.com>
|
5 years ago |
Victor Porof
|
dd360eeb69
|
Expose common backend errors as top-level store errors; this allows users not to worry about which backend they're using
Signed-off-by: Victor Porof <victor.porof@gmail.com>
|
5 years ago |