* Simplify RebuildIndex
Two improvements with index rewriting:
1) Brian's `TupleFactory` optimizations were being skipped, and 70% of
the runtime was spent building `newBinaryNomsWriter` instances for tuple
construction. Removing this restores index inserts as the only memory
pressure.
2) Brian's `BulkEditAccumulator` lets the final Map sort skip
work materializing intermediate prolly trees.
On a 2000 row table, fix (1) reduces the runtime by 50% (80ms -> 40ms),
and fix (2) reduces the runtime by another 40% (40ms -> 10ms)%, for a
cumulative ~90% improvement.
* fixes
* save version with defaultConfig in session -- todo remove and make PersistedSession
* add PersistedSession, and DoltSession interface to switch
* fmt
* fixup test for persistedSession
* PersistedSession progress, interfaces and enginetests
* All DsessFromSess references fixed
* delete unnuecessary lines
* Comments for dolt session
* Dolt session tests
* save bats progress
* formatting
* GMS version
* Bump GMS version
* add license header
* fix multi-db errors
* try copyright again
* make test deterministic
* higher connection timeout default
* sever config ordering
* PR fixes
* PR fixes
* config rewrite progress
* server config refactor
* PR cleanup
* delete lines
* add go tests, refactor persistent global initialization
* PR fixes
* delete more lines
* small PR cleanup
* try to fix data race
* better constructor names
* zach don't like --server flag
* edge cases around disabling replication
* missed line in merge
* Skip two tests i fixed in follow-on PR
* commit hook warning progress
* merge two config prs
* fix nondeterministic bats
* zach's comments
* bump bats sql-shell expect timeout
* non-server progress
* replication warnings
* Get and set config bool types
* More bats, small PR fixes
* missing header
* fix bats panic
* PR touch ups
* flag, logic and tests for pulling multiple heads to replica
* change name because enginetest, fix impl typo
* missed file commit, config var name changed to strategy
* delete unnecessary lines
* progress, need to merge other PR
* prototype working
* delete some lines
* don't make a new branch until after fetch
* zach's comments
* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh
* fix import cycle
* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh
* fix import cycle, sys vars in sqle
* style fixes, one more bats
* split heads spec and all heads into two variables
* remove unnecessary rebase
* bad merge duplicated bats
* fix on demand fetch after multi head pull changes
* correctness, bats and zach fixes
* drop unnecessary server test
* bad bats title
* small PR fixes
* correctness fix for detached head / fetch branch
* fix comment
Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
* small push on write perf benchmark with no prog channel
* remove unused prog funcs
* remove unused prog funcs
* fix bench name
* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh
Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
* shittiest read replica imaginable is kind of working
* import cycle progress
* delete unecessary files and fix db type switch bug
* Add bats test
* delete comments
* fix working set updates for cli
* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh
* clean comments
* comment racy server test
* move env variables to local dolt config
* refactor clone, fix multienv test
* cleanup comments
* missing copyright
* brian's comments, add compile time checks for config interfaces
* format
* fix windows filepaths issue
* file:/// with three slashes should work on windows
* more windows problems
* three slashes didn't work for clone, do chdir to ref local dolt db
Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
* shittiest read replica imaginable is kind of working
* import cycle progress
* delete unecessary files and fix db type switch bug
* Add bats test
* delete comments
* fix working set updates for cli
* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh
* clean comments
* comment racy server test
* zach's comments
* add copyright headers
Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
* Start moving code out of cmd
* hacky cmd -> action/evn refactor
* progress
* String verbose error from lib, mostly not reconstructed on cli side
* Missing verbose errors in lib, still not handled in cli. Refactor vinai's doc diffs to not depend on merge
* Small progress commit on other laptop
* Merge bats passing
* format
* progress
* Remotes bats tests working
* More error fixes
* Fix cyclic foreign keys bats
* Fix import cycle
* Start cleaning up code
* Fix a couple bats
* Clean up comments and println
* Brian's comments