Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Receive: refactor handler for improved readability and organization #6898

Merged
merged 47 commits into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
Changes from 41 commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
0edff03
[wip] First checkpoint
douglascamata Nov 14, 2023
5837f0f
[wip] Second checkpoint
douglascamata Nov 14, 2023
e74a01c
Small random refactors
douglascamata Nov 15, 2023
219b203
Add some useful trace tags
douglascamata Nov 15, 2023
023c776
Concurrent and traced local writes
douglascamata Nov 15, 2023
99f6afb
Improve variable names in remote writes
douglascamata Nov 15, 2023
1a969ee
Rename `newFanoutForward` function
douglascamata Nov 15, 2023
b8bb340
More refactors
douglascamata Nov 15, 2023
9af212f
Fix linting issue
douglascamata Nov 15, 2023
955d859
Add a quorum test with sloppy quorum
douglascamata Nov 16, 2023
4a462e6
[wip] Try to make retries work
douglascamata Nov 16, 2023
f622a97
[wip] Checkpoint: wait group still hanging
douglascamata Nov 17, 2023
a8e1175
Some refactors
douglascamata Nov 21, 2023
91ce0d6
Add some commented code so I don't lose it
douglascamata Nov 21, 2023
d49b8b1
Adapt tests
douglascamata Nov 21, 2023
85cf490
Remove sloppy quorum code
douglascamata Nov 21, 2023
3976c16
Move some code around
douglascamata Nov 21, 2023
3640a7e
Remove even more leftover of sloppy quorum
douglascamata Nov 22, 2023
ba5c92b
Extract a type to hold function params
douglascamata Nov 22, 2023
5c74447
Remove unused struct field
douglascamata Nov 22, 2023
10af70a
Remove useless variable
douglascamata Nov 22, 2023
b1934bd
Merge branch 'main' of github.com:thanos-io/thanos into receive-write…
douglascamata Nov 22, 2023
504dd58
Remove type that wasn't used enough
douglascamata Nov 22, 2023
7e131da
Delete function to tighten up max buffered responses
douglascamata Nov 22, 2023
43fe873
Add comments to some functions
douglascamata Nov 22, 2023
5b9f1ff
Fix peer up check
douglascamata Nov 22, 2023
3690492
Fix size of replication tracking slices
douglascamata Nov 22, 2023
a641dde
Rename context
douglascamata Nov 22, 2023
e3a0c01
Don't do local writes concurrently
douglascamata Nov 22, 2023
35ba1f9
Remove extra error logging
douglascamata Nov 22, 2023
5fcf772
Merge branch 'main' into receive-write-refactor
douglascamata Dec 13, 2023
faf449f
Fix syntax after merge
douglascamata Dec 13, 2023
7406300
Merge branch 'main' of github.com:thanos-io/thanos into receive-write…
douglascamata Jan 8, 2024
fab1c8e
Add missing methods to peersContainer
douglascamata Jan 8, 2024
0bdf584
Fix handler test
douglascamata Jan 9, 2024
0cab6ce
Merge branch 'main' of github.com:thanos-io/thanos into receive-write…
douglascamata Jan 9, 2024
ae9af0c
Reset peers state on hashring changes
douglascamata Jan 10, 2024
d389410
Handle PR comment regarding waitgroup
douglascamata Jan 10, 2024
2bd869b
Set span tags to help debug
douglascamata Jan 10, 2024
ead8120
Fix concurrency issue
douglascamata Jan 11, 2024
af890dc
Fix request ID middleware
douglascamata Jan 11, 2024
a3163ba
Fix `distributeTimeseriesToReplicas` comment
douglascamata Jan 16, 2024
b04b7e5
Extract var with 1-indexed replication index
douglascamata Jan 16, 2024
d1b88dd
Rename methods in peersContainer interface
douglascamata Jan 16, 2024
ffc3060
Make peerGroup `getConnection` check if peers are up
douglascamata Jan 16, 2024
f9d4c6e
Remove yet one more not useful log
douglascamata Jan 16, 2024
fd4405f
Remove logger from `h.sendWrites`
douglascamata Jan 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading