0.9.8
We have released version 0.98 of Dolt, which as you probably know is now open source. A quick reminder that you can freely host the awesome public data you put in Dolt at DoltHub.
This release contains performance improvements, and bug fixes but no major new features. Please let me know if you have any questions.
Merged PRs
- 60: bump version
- 57: Added a PID to a directory. This was causing jenkins on windows to fa…
…il if it ran twice on the same instance. - 55: {bats,go}: Log successful commits
This closes dolthub/ld#1744
Before:After:$ dolt commit -m "commit ints"
$ dolt commit -m "commit ints" commit 3cvbeh6bn94hlhfaig5pa65peiribrhn Author: Matt Jesuele <[email protected]> Date: Mon Aug 26 19:10:17 -0700 2019 commit ints
- 50: add dustin to approved commiters/authors
- 49: [WIP] Add client events to dolt commands
Added events to all of the dolt commands.
Turned logging back on while I work on this PR. (will remove before merge)
I need to write tests for these, should I create a test file for each command file where I test to ensure that the command has an event and the appropriate metrics? Would love input on this. - 48: client events
- 47: Threading context from app launch
- 46: Add client_event.proto and compiled .go file
- 45: Add support to get the last modified time from the filesys
- 44: Changed default remote host to use the env constant
Before we were usingdolthub.com
as the default, which is incorrect. I've changed it to the appropriate environment constant so that it also properly updates when we change from our beta domain. - 43: Created skipped test for newlines on CSV
- 42: README.md: Remove erroneous go install instructions.
- 41: Make the InMemFS thread safe
The current InMemFS was failing in a multithreaded context as it edits a map which is not thread safe. Something to note is that golang locks are not re-entrant. Some of the refactoring is related to that. Locks are typically put on the exported methods and not the internal methods. - 40: Fixed JSON imports and disallowed schemas on import updates
Fixes #36 - 39: Add move file functionality to the filesys package
- 38: Fixes a panic that occurs if multiple bad rows are found during import
When a pipeline is being run, any stage can write to the bad row channel when an error is encountered. There is a go routine reading from this channel that will not exit until the channel is closed, or an error is encountered. In typical operation the pipeline's sink would close the bad row channel once the pipeline finishes (either via an error triggered stoppage, or successful completion). However, in the case where multiple errors are getting written to the bad row channel from multiple go routines, it is possible for the bad row channel to be written to, which triggers the pipeline to be stopped, and the channel to be closed, and then have a go routine write to that closed channel.
The fix here is to not close the channel in the sink, but instead to write a marker to the channel which will cause the go routine watching for errors to exit. - 37: go/go.mod: Do not depend on //proto/third_party/golang-protobuf.
Development ergonomics are much worse and the runtime library will maintain
compability with the generator major version anyway, or it will explicitly
break compilation. - 35: dolt/go: Fix spelling on ancestor
- 34: proto/Makefile: Use submodule for protoc-gen-go instead of whatever is on the path.
- 33: Jenkinsfile: Use goimports from go.mod for check_fmt.sh
- 31: support importing and exporting data to and from stdin and std out
In the current releases it was possible to chain dolt with other programs via stdout/stdin like so:
dolt table export table_name --file-type csv /dev/stdout -f|python row_cleaner.py|dolt table import cleaned_data -u --file-type csv /dev/stdin
Which only works in environments where stdin / stdout are mapped to files on the filesystem. This change will use the stdin / stdout streams for import / export when a file is not provided. - 30: Added column lengths for schema output to varchar columns so that the…
…y can be re-imported - 29: go/cmd/dolt: dolt ls -v shows number of rows in each table.
- 27: Refer to newest version of mmap-go
We now strictly refer to our own fork of mmap-go. Plus cleaned up thego.mod
, as we have git history and don't quite need the comments. - 25: Added .idea directory (goland) to top-level .gitignore file
- 24: fix race condition which caused reproducible crash
The declaration of the variables readStart, readEnd, and batch are declared outside of the for loop, and it is possible that their value can change before the go routine calls readAtOffsets causing some or all of these values to be incorrect. The fix is to save them to variables scoped to the loop before calling the go routine. - 23: Fixed a bug on windows when redirecting STDIN for SQL import, e.g. do…
…lt sql < dump.sql. Also fixed up ip2nation sample so that it successfully imports