- Jan 27, 2025
-
-
Divya Rani authored
This commit introduces a mock raft server and node for testing and adds tests to ensure the transport implementation is functioning correctly.
-
Divya Rani authored
Add SendMessage RPC which leverages GrpcTransport.Receive to process incoming Raft messages. The Receive method is resposible for routing messages to the appropriate partition manager, unpacking log data and advancing the Raft state machine.
-
Divya Rani authored
This commit introduces a gRPC transport interface for handling Raft communication. It implements the logic for sending and receiving Raft messages, including packing and unpacking log data. Additionally, the RaftManagerRegistry facilitates Raft manager registration and partition lookup. For the address lookup, we introduce a static routing table for now. In future, the table can be dynamic so that the addresses are propagated through gossiping.
-
Divya Rani authored
The SendMessage RPC doesn't need to be transactionalized so it safely bypass the transaction middleware.
-
Divya Rani authored
Let's remove no-op transport as we will implement grpc transport in subsequent commits.
-
- Jan 24, 2025
-
-
Olivier Campeau authored
Rename bundleManager to bundleURIManager See merge request !7573 Merged-by:
Olivier Campeau <ocampeau@gitlab.com> Approved-by:
Toon Claes <toon@gitlab.com> Approved-by:
Eric Ju <eju@gitlab.com>
-
Olivier Campeau authored
The name of the bundle URI manager is inconsistent across the program and in some part not very descriptive. The bundle URI manager is now renamed to `bundleURIManager`. References: This commit addresses the following comment: !7542 (comment 2298693589)
-
- Jan 23, 2025
-
-
Eric Ju authored
housekeeping: Add offloading bucket sink Closes #6513 See merge request !7488 Merged-by:
Eric Ju <eju@gitlab.com> Approved-by:
Olivier Campeau <ocampeau@gitlab.com> Reviewed-by:
Quang-Minh Nguyen <qmnguyen@gitlab.com> Reviewed-by:
Eric Ju <eju@gitlab.com> Reviewed-by:
Olivier Campeau <ocampeau@gitlab.com>
-
Eric Ju authored
To make sure offloading sink can working correctly and is capable to deal with retry and cancellation under long delay, various test cases are added for each each operation.
-
Eric Ju authored
This commit adds tests to ensure proper configuration of sink options when creating a bucket sink. The tests also validate that: - Default values are correctly set. - Special cases, such as WithNoRetry(), properly configure the configuration as expected.
-
Eric Ju authored
We have retry and cancel support in the offloading sink. In order test those, we have to mock a bucket that can simulate delay and error. In this commit, we add a mock bucket. The bucket is based on fileblob bucket but intercept its response with cuostizable delay and error. With such simulation, we can write test cases to examine the offloading sink's behavior under long delay and frequent error.
-
Eric Ju authored
The offloading storage is a cloud object store where we can save our offloaded object to. As part of repository offloading, interacting with the offloading storage is required for operations such as downloading, uploading, deleting, and listing. This commit introduces an new sink implementation to serve as an abstraction where we can interact with the offloading storage.
-
James Liu authored
localrepo: Exercise `CloneBundle()` fsck configuration in test See merge request !7579 Merged-by:
James Liu <jliu@gitlab.com> Approved-by:
Emily Chui <echui@gitlab.com> Approved-by:
James Liu <jliu@gitlab.com> Co-authored-by:
Justin Tobler <jtobler@gitlab.com>
-
- Jan 22, 2025
-
-
Justin Tobler authored
Starting in Git version 2.46.0, executing git-clone(1) on a bundle performs fsck checks when `transfer.fsckObjects` is enabled. Prior to this, this configuration was always ignored and fsck checks were not run. Unfortunately, fsck message severity configuration is ignored by Git only for bundle clones. This issue is resolved in Git version 2.48.0, but until this gets rolled out to GitLab, disable `transfer.fsckObjects` so bundles containing fsck errors can continue to be cloned. This matches behavior prior to Git version 2.46.0.
-
Justin Tobler authored
In Git versions prior to 2.46.0, performing git-clone(1) on a bundle did not perform fsck checks even when `transfer.fsckObjects` was enabled. Add a test case exercising an fsck error being caught when cloning from a bundle.
-
GitLab Release Tools Bot authored
-
GitLab Release Tools Bot authored
[ci skip]
-
GitLab Release Tools Bot authored
[ci skip]
-
GitLab Release Tools Bot authored
[ci skip]
-
James Liu authored
repository: Fix flaky `TestGetConfig` See merge request !7577 Merged-by:
James Liu <jliu@gitlab.com> Approved-by:
James Liu <jliu@gitlab.com> Co-authored-by:
Justin Tobler <jtobler@gitlab.com>
-
- Jan 21, 2025
-
-
Justin Tobler authored
In 810ed5cf (git: Wire up Git v2.48 execution environment, 2025-01-14), the `TestGetConfig` test was modified to support Git version 2.48. Using a feature flag to guard to select the expected output doesn't work if the bundled Git version get overwritten as done in the nightly CI pipelines. Fix this by checking the actual version of Git being used during test execution.
-
Justin Tobler authored
Add the `IsGitVersionLessThan()` function to compare the Git version in use compared to a specified version.
-
Eric Ju authored
template: Add note to announce Git rollouts See merge request !7574 Merged-by:
Eric Ju <eju@gitlab.com> Approved-by:
Eric Ju <eju@gitlab.com> Co-authored-by:
Justin Tobler <jtobler@gitlab.com>
-
Justin Tobler authored
Updating Git versions in Gitaly can have widespread impacts. Add note in the Git version rollout issue template to announce the change.
-
- Jan 20, 2025
-
-
Olivier Campeau authored
go-toolchain: Downgrade gitaly-init-cgroups version See merge request !7569 Merged-by:
Olivier Campeau <ocampeau@gitlab.com> Approved-by:
Sami Hiltunen <shiltunen@gitlab.com> Approved-by:
Eric Ju <eju@gitlab.com>
-
Olivier Campeau authored
The gitaly-init-cgroups tool has an inconsistent 'toolchain' version in the go.mod file. All other tools are on 1.22.6, but this one was on 1.22.8. This MR downgrades the 'toolchain' version of this tool to 1.22.6, so it is consistent with all other tools and binaries of the project. This change is also motivated by the fact that having different go.mod files with inconsistent `toolchain' versions across the same project can cause some version conflicts when people uses IDE, which prevents building and debugging.
-
Mustafa Bayar authored
backup: Confirm recovered log entries are being applied See merge request !7555 Merged-by:
Mustafa Bayar <mbayar@gitlab.com> Approved-by:
Divya Rani <drani@gitlab.com> Approved-by:
Mustafa Bayar <mbayar@gitlab.com> Reviewed-by:
Quang-Minh Nguyen <qmnguyen@gitlab.com> Reviewed-by:
Divya Rani <drani@gitlab.com> Co-authored-by:
Quang-Minh Nguyen <qmnguyen@gitlab.com>
-
Emily Chui authored
Roll docs linting Docker image forward See merge request !7567 Merged-by:
Emily Chui <echui@gitlab.com> Approved-by:
Emily Chui <echui@gitlab.com> Approved-by:
Nao Hashizume <nhashizume@gitlab.com> Co-authored-by:
Evan Read <eread@gitlab.com>
-
- Jan 18, 2025
-
-
Stan Hu authored
Add nodejs back to .tool-versions See merge request !7570 Merged-by:
Stan Hu <stanhu@gmail.com> Approved-by:
Toon Claes <toon@gitlab.com> Approved-by:
Olivier Campeau <ocampeau@gitlab.com>
-
- Jan 17, 2025
-
-
Stan Hu authored
markdownlint-cli2 needs nodejs (npm specifically). Omitting nodejs caused the GDK CI jobs to fail in gitlab!178256.
-
Emily Chui authored
ci: Extend nightly testing for reftables and SHA256 See merge request !7562 Merged-by:
Emily Chui <echui@gitlab.com> Approved-by:
Emily Chui <echui@gitlab.com> Co-authored-by:
Justin Tobler <jtobler@gitlab.com>
-
Evan Read authored
-
Emily Chui authored
Upgrade markdownlint-cli2 to 0.17.1 See merge request !7565 Merged-by:
Emily Chui <echui@gitlab.com> Approved-by:
Emily Chui <echui@gitlab.com> Co-authored-by:
Evan Read <eread@gitlab.com> Co-authored-by:
Nao Hashizume <nhashizume@gitlab.com>
-
James Liu authored
go: Update module github.com/git-lfs/git-lfs/v3 to v3.6.1 See merge request !7559 Merged-by:
James Liu <jliu@gitlab.com> Approved-by:
James Liu <jliu@gitlab.com> Co-authored-by:
GitLab Renovate Bot <gitlab-bot@gitlab.com>
-
- Jan 16, 2025
-
-
Nao Hashizume authored
-
John Cai authored
Remove cc:@andrashorvath from Production Training.md See merge request !7563 Merged-by:
John Cai <jcai@gitlab.com> Approved-by:
John Cai <jcai@gitlab.com> Co-authored-by:
Andras Horvath <ahorvath@gitlab.com>
-
Patrick Steinhardt authored
Makefile: Build and install Git v2.48.0 See merge request !7560 Merged-by:
Patrick Steinhardt <psteinhardt@gitlab.com> Approved-by:
James Liu <jliu@gitlab.com> Approved-by:
Karthik Nayak <knayak@gitlab.com> Reviewed-by:
Patrick Steinhardt <psteinhardt@gitlab.com> Reviewed-by:
James Liu <jliu@gitlab.com> Co-authored-by:
Justin Tobler <jtobler@gitlab.com>
-
Andras Horvath authored
-
Divya Rani authored
Embed raftpb to Gitaly for direct use See merge request !7561 Merged-by:
Divya Rani <drani@gitlab.com> Approved-by:
Divya Rani <drani@gitlab.com> Reviewed-by:
Quang-Minh Nguyen <qmnguyen@gitlab.com> Reviewed-by:
James Liu <jliu@gitlab.com> Reviewed-by:
Divya Rani <drani@gitlab.com> Co-authored-by:
Quang-Minh Nguyen <qmnguyen@gitlab.com>
-