-
Notifications
You must be signed in to change notification settings - Fork 556
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
[Backport release-1.2.0] PartitionId in the logging context #7910
Commits on Sep 24, 2021
-
We have in the RaftContext only the name, which contains the raft group and partition id. Sometimes we just want to have the partition id as an int this introduces this property. (cherry picked from commit ae10d8f)
Configuration menu - View commit details
-
Copy full SHA for 77d2d9c - Browse repository at this point
Copy the full SHA 77d2d9cView commit details -
feat: add partition id to raft thread context
(cherry picked from commit 7f09cde)
Configuration menu - View commit details
-
Copy full SHA for 1fffdd3 - Browse repository at this point
Copy the full SHA 1fffdd3View commit details -
(cherry picked from commit afe41e7)
Configuration menu - View commit details
-
Copy full SHA for 77ba149 - Browse repository at this point
Copy the full SHA 77ba149View commit details -
feat: add context map to actor
This context map is used on execution to set the logging context. Per default it just contains the actor name. Later sub classes should fill it with more context. It should make it easier on debugging and improve observability. (cherry picked from commit d7f6d84)
Configuration menu - View commit details
-
Copy full SHA for 3449b19 - Browse repository at this point
Copy the full SHA 3449b19View commit details -
refactor: add lazy instantiation
In order to not recreate the map object all the time, we create a map only once on the first call and return that afterwards. (cherry picked from commit 7ff5938)
Configuration menu - View commit details
-
Copy full SHA for e5e2417 - Browse repository at this point
Copy the full SHA e5e2417View commit details -
(cherry picked from commit 0253b97)
Configuration menu - View commit details
-
Copy full SHA for ef77cfb - Browse repository at this point
Copy the full SHA ef77cfbView commit details -
refactor: set MDC in RaftContext
(cherry picked from commit 365dbe1)
Configuration menu - View commit details
-
Copy full SHA for 916bafa - Browse repository at this point
Copy the full SHA 916bafaView commit details -
refactor: make actor context umodifiable
Add new method which should be overwritten by subclasses in order to add more information on which context the actor is currently running. This method is only on the first time, when the context is not yet filled. (cherry picked from commit 2091b0f)
Configuration menu - View commit details
-
Copy full SHA for 390a326 - Browse repository at this point
Copy the full SHA 390a326View commit details -
feat: create context returns modifiable map
Returning modifiable map on this method makes it easier to implement sub classes. #getContext will return an umodifiable map (cherry picked from commit b36691d)
Configuration menu - View commit details
-
Copy full SHA for b3f12fd - Browse repository at this point
Copy the full SHA b3f12fdView commit details -
feat: add partitionId to exporterDirector context
(cherry picked from commit f505254)
Configuration menu - View commit details
-
Copy full SHA for 3d9681a - Browse repository at this point
Copy the full SHA 3d9681aView commit details -
feat: add partitionId to LogDeletionService context
(cherry picked from commit abb9dc9)
Configuration menu - View commit details
-
Copy full SHA for 21e6331 - Browse repository at this point
Copy the full SHA 21e6331View commit details -
feat: add partitionId to StreamProcessor context
(cherry picked from commit f99ed0d)
Configuration menu - View commit details
-
Copy full SHA for 08819dd - Browse repository at this point
Copy the full SHA 08819ddView commit details -
feat: add partitionId to FileBasedSnapshotStore context
(cherry picked from commit b2d3737)
Configuration menu - View commit details
-
Copy full SHA for 926f824 - Browse repository at this point
Copy the full SHA 926f824View commit details -
feat: add partitionId to LogStorageAppender context
(cherry picked from commit 93c839f)
Configuration menu - View commit details
-
Copy full SHA for 5f2dd6a - Browse repository at this point
Copy the full SHA 5f2dd6aView commit details -
(cherry picked from commit 4cd49f3)
Configuration menu - View commit details
-
Copy full SHA for a988182 - Browse repository at this point
Copy the full SHA a988182View commit details -
feat: add partitionId to AsyncSnapshotDirector context
(cherry picked from commit 741da77)
Configuration menu - View commit details
-
Copy full SHA for e28cab3 - Browse repository at this point
Copy the full SHA e28cab3View commit details -
feat: add partitionId to LogStreamImpl context
(cherry picked from commit a1b31c4)
Configuration menu - View commit details
-
Copy full SHA for 73077fa - Browse repository at this point
Copy the full SHA 73077faView commit details -
feat: add partitionId to ZeebePartition context
(cherry picked from commit d35fa57)
Configuration menu - View commit details
-
Copy full SHA for 03fb4f9 - Browse repository at this point
Copy the full SHA 03fb4f9View commit details