-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from JesseStimpson/0-2-0
v0.2.0
- Loading branch information
Showing
6 changed files
with
46 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,6 @@ _build/ | |
ebin/ | ||
|
||
doc/ | ||
|
||
# Must be generated locally | ||
.clangd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
erlang 27.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Changelog for v0.x | ||
|
||
## v0.2.0 (2024-09-21) | ||
|
||
### Bug fixes | ||
|
||
* Several type specs in `erlfdb` were corrected. | ||
|
||
### Enhancements | ||
|
||
* `erlfdb:wait_for_all_interleaving/2`: Given a list of fold_future() or future(), calling this function will wait | ||
on the futures at once, and then continue to issue any remaning get_range or get_mapped_range until | ||
the result set is exhausted. This allows fdbserver to process multiple get_ranges at the same time, | ||
in a pipelined fashion. | ||
* `erlfdb:get_range_split_points/4`: Companion to `wait_for_all_interleaving`, this is an fdbserver-supported function | ||
that will split a given key range into a partitioning set of ranges for which the key-values for each section are | ||
approximately equal to the provided `chunk_size` option. There are limitations to this, namely that a hard | ||
maximum of 100 shards can be traversed. The default `chunk_size` is 10000000 (in Bytes). | ||
* `erlfdb:get_range*`: The default behavior of get_range is now more explicit in the type specs and with the `wait` | ||
option, with defaults to `true`. A value of `false` will return a fold_future(), and `interleaving` is | ||
an experimental feature that will use both `get_range_split_points` and `wait_for_all_interleaving` to retrieve the range. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Developing in erlfdb | ||
==================== | ||
|
||
.clangd config | ||
-------------- | ||
|
||
The .clangd file cannot expand environment variables, so you should generate it | ||
with the provided script, which assumes you're using asdf. | ||
|
||
```bash | ||
./dev/gen-clangd-config.sh > .clangd | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
cat << EOF | ||
CompileFlags: | ||
Add: | ||
- -I$(asdf where erlang)/usr/include | ||
- -DFDB_USE_LATEST_API_VERSION=1 | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters