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

event 구현 - MariadbGtidListEvent #4

Open
chungeun-choi opened this issue Jul 22, 2023 · 1 comment
Open

event 구현 - MariadbGtidListEvent #4

chungeun-choi opened this issue Jul 22, 2023 · 1 comment
Assignees
Labels
0조 최강 0조

Comments

@chungeun-choi
Copy link

chungeun-choi commented Jul 22, 2023

event(MariadbGtidListEvent) 구현

@chungeun-choi chungeun-choi added 1조 1조 이슈 0조 최강 0조 and removed 1조 1조 이슈 labels Jul 22, 2023
@chungeun-choi chungeun-choi self-assigned this Jul 22, 2023
@dongwook-chan
Copy link

dongwook-chan commented Jul 22, 2023

MariaDB 소스코드에서 Gtid_list_log_event 클래스의 주석을 참고하면 테스트 코드 작성이 가능할 것 같네요!

This event is logged at the start of every binlog file to record the
current replication state: the last global transaction id (GTID) applied
on the server within each replication domain.

MySQL에는 각 binlog의 맨 앞에 4 magic number bytes와 Rotate_event, Format_description_event가 들어왔는데
MariaDB에서 binlog에 쌓인 이벤트들을 조회하니 다음과 같습니다.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0조 최강 0조
Projects
None yet
Development

No branches or pull requests

2 participants