Skip to content

Audit START/END log events for CoordinatorEvent operations#936

Merged
ehoner merged 1 commit intomasterfrom
DATAPIPES-26639
May 30, 2023
Merged

Audit START/END log events for CoordinatorEvent operations#936
ehoner merged 1 commit intomasterfrom
DATAPIPES-26639

Conversation

@ehoner
Copy link
Copy Markdown
Contributor

@ehoner ehoner commented May 22, 2023

Operations performed by the Leader should create start/stop log pairs. These are helpful when investigating issues related to CoordinatorEvent processing. For each method corresponding to an event, the start and stop logs should begin on entry and end just before exit. The changes are itemized below according to event.

  • CoordinatorEvent / handleEvent:
    • Add "END" log to precondition/early return.
  • LEADER_DO_ASSIGNMENT
    • Add start and end.
    • Existing start and end capture timing only for assignment calculation. Activity before and after are not included.
  • HANDLE_ADD_OR_DELETE_DATASTREAM
    • Add start and end.
  • LEADER_PARTITION_MOVEMENT
    • Add start and end.

@ehoner ehoner merged commit c449757 into master May 30, 2023
@ehoner ehoner deleted the DATAPIPES-26639 branch May 30, 2023 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants