Compare commits
2 Commits
5dc02588d4
...
3359326061
Author | SHA1 | Date | |
---|---|---|---|
|
3359326061 | ||
86a32513cc |
29
CHANGELOG.md
Normal file
29
CHANGELOG.md
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
# Changelog
|
||||||
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.1.0] - 2025-01-06
|
||||||
|
|
||||||
|
### Added
|
||||||
|
- add basic main.go
|
||||||
|
- add default
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- orbis demo
|
||||||
|
|
||||||
|
### Other
|
||||||
|
- add more specific log for when leader is acquired
|
||||||
|
- add basic leader election on top of postgres
|
||||||
|
|
||||||
|
- add orbis demo
|
||||||
|
|
||||||
|
- add basic scheduler
|
||||||
|
|
||||||
|
- add utility scripts
|
||||||
|
- add utility scripts
|
||||||
|
- add logger
|
||||||
|
- add cmd
|
BIN
assets/demo.gif
BIN
assets/demo.gif
Binary file not shown.
Before Width: | Height: | Size: 85 KiB After Width: | Height: | Size: 28 KiB |
@ -69,6 +69,7 @@ func (s *Scheduler) acquireLeader(ctx context.Context) (bool, error) {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
s.logger.Info("acquired lock, electing application to leader")
|
||||||
return true, nil
|
return true, nil
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user