Commit Graph

91 Commits

Author SHA1 Message Date
luchenhan 1ecced743a chore: fix some function names
Signed-off-by: luchenhan <hanluchen@aliyun.com>
2024-04-29 17:02:11 +08:00
Maximilian Hoffman 864f9621e0 [store] use hasCache to minimize pendingRef pool (#7672)
* [store] use hasCache to minimize pendingRef pool

* better interfaces

* fmt

* vet
2024-04-02 14:53:31 -07:00
Maximilian Hoffman d6aa1e6af0 [statspro] Avoid copying histograms, perf improvement (#7666)
* [statspro] Avoid unnecessary histogram copies

* bump

* dropped fds and colset

* fix more tests

* merge main

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

* bump

---------

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2024-04-02 09:38:31 -07:00
Maximilian Hoffman 053e6caa24 [store] one hashset for child ref checks (#7654)
* [store] one hashset for child ref checks

* tests

* rename, docstring
2024-04-01 11:16:28 -07:00
coffeegoddd 1749688ca7 /go/{libraries,store}: revert removal of GetTopNTopoOrderedCommitsMatching, fix CSMetricWrapper chunkstore 2024-02-16 12:02:39 -08:00
Neil Macneale IV 3a59ea51e6 PR feedback 2024-02-15 16:33:52 -08:00
Neil Macneale IV 1e03716a6a Fix the dolt_history_{table} for shallow clones
Also some todo clean up
2024-02-13 17:25:15 -08:00
Neil Macneale IV e13b963593 More testing, less bugs and TODOs 2024-02-12 17:27:22 -08:00
Neil Macneale IV f7bc1ac68f Shallow clone for sindle depth clone in place
All existing tests pass
2024-02-12 17:09:14 -08:00
Neil Macneale IV c2b64227c2 Refactor for OptionalCommit compiles. 2024-02-12 17:07:37 -08:00
Aaron Son b832e3bf9d dolt push: Only assert on a clean working set when doing a push if we are running against a server which requests it. 2024-01-10 15:51:30 -08:00
Aaron Son 67535bbda1 go/cmd/dolt: sql-server.lock/sql-server.info changes. PR feedback. 2023-11-30 12:01:43 -08:00
Aaron Son d440045b06 go/store/chunks: Add a way for a ChunkStore to report its ExclusiveAccessMode: Shared, ReadOnly or Exclusive. 2023-11-28 17:25:51 -08:00
Aaron Son c0b0cc42d1 dolt clone: Fix dolt clone run against a sql-server where the database has been GCd.
A long-standing bug in the remotesapi which the sql-server exposes could cause
a `dolt clone` to fail when running against a database which had been garbage
collected. This change fixes the bug in the server. It also patches the client
behavior so that it will tolerate responses from older versions of dolt.
2023-06-27 16:41:22 -07:00
Aaron Son 78ddc3758c go: doltcore/env/actions: remotes: Only use clone on the backup path if the src TableFileStore does not include a chunk journal. 2023-05-02 20:26:21 -07:00
Aaron Son 44e858a678 Merge remote-tracking branch 'origin/main' into aaron/gc-inprogress-writes 2023-03-09 15:02:09 -08:00
Aaron Son 0c359786b6 go/store/types: Remove obsolete bin format 7.18. 2023-03-07 12:35:02 -08:00
Aaron Son 07a7728612 go/store/chunks: Add lock around pending refs in memory store. 2023-03-03 15:57:06 -08:00
Aaron Son b5087030ed go/store/nbs: PR feedback. 2023-03-01 15:02:39 -08:00
Aaron Son cb5c25b0f0 Merge remote-tracking branch 'origin/main' into aaron/gc-inprogress-writes 2023-03-01 14:38:15 -08:00
reltuk 663c80ef45 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-02-24 23:44:13 +00:00
Aaron Son a3f24f5ca5 go/store/{types,nbs}: Enable writes to proceed while GC is in progress. 2023-02-24 15:38:25 -08:00
Maximilian Hoffman db5c420020 [no-release-notes] SIGINT gracefully shuts down merge (#5426)
* [no-release-notes] SIGINT gracefully shuts down merge

del

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

* aaron's comments

* another aaron comment

* dont reuse ctx in migrate

---------

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2023-02-24 14:39:04 -08:00
reltuk e23e7ee84a [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-01-31 23:51:44 +00:00
Aaron Son ff63732b49 go/store/types: value_store.go: Change GC implementation to call TableFileStore.PruneTableFiles after the copy is complete. 2023-01-31 15:48:39 -08:00
Taylor Bantle ba7935b25b Merge remote-tracking branch 'origin/main' into taylor/gc 2023-01-25 11:24:06 -08:00
Andy Arthur cbb29a59e3 go/store/nbs: moved sanity check to commit-time 2023-01-23 16:20:23 -08:00
Taylor Bantle 6394373fb6 Some getAddrs cleanup 2023-01-13 10:13:01 -08:00
Taylor Bantle 55bd1bb143 Merge branch 'taylor/put-many' into taylor/gc 2023-01-13 08:48:41 -08:00
Taylor Bantle 3339cf34c2 Remove PutMany 2023-01-12 09:26:02 -08:00
Taylor Bantle 7b759f2c75 More fixes 2023-01-12 09:26:02 -08:00
Taylor Bantle 98b073070c Fix some test failures 2023-01-12 09:26:02 -08:00
Taylor Bantle 98871db953 First attempt at PutMany 2023-01-12 09:26:02 -08:00
Taylor Bantle 18fedd79ad Add sanity check to Put
This reverts commit b1de143a16.
2023-01-12 09:26:02 -08:00
Taylor Bantle d0aa5e444b Remove sanity check on Put 2023-01-10 16:20:56 -08:00
Taylor Bantle fef4ac7c6c store/nbs: Clean up gcinprogress 2023-01-10 16:20:56 -08:00
Taylor Bantle b9420b1cf3 Add Put unit tests 2023-01-10 16:20:56 -08:00
Taylor Bantle faf759cc76 getAddrs in memory_store, some fixes 2023-01-10 16:20:56 -08:00
Taylor Bantle f17425abec Tests pass 2023-01-10 16:20:56 -08:00
Taylor Bantle e2eabac321 store: Add sanity check to Put 2023-01-10 16:20:56 -08:00
Taylor Bantle 6b9d2faa73 Move TableFileStore back to nbs 2022-12-30 11:02:16 -08:00
Taylor Bantle 36ac532a9c Fix copyright header 2022-12-16 11:15:19 -08:00
Taylor Bantle b6848b105a Move TableFileStore from nbs to chunks 2022-12-16 10:56:51 -08:00
zachmu 0093a168ec [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-11-02 23:06:03 +00:00
Zach Musgrave 78a377edba Removed testify dependency from d package 2022-11-01 17:23:26 -07:00
Zach Musgrave 56848f4eb9 Removed testify dependency from util file 2022-11-01 16:36:08 -07:00
Andy Arthur b5e7d9fad2 roundtripping simple schemas 2022-06-15 12:54:33 -07:00
James Cor fb61ac865e reverting some changes 2022-02-16 13:44:22 -08:00
James Cor 42fb52d403 probably gets all hashes 2022-02-15 16:00:38 -08:00
Andy Arthur be0b12154d added benchmark options, node cache 2022-01-13 20:03:40 -08:00