Compare commits
2 Commits
5dc02588d4
...
3359326061
Author | SHA1 | Date | |
---|---|---|---|
|
3359326061 | ||
86a32513cc |
@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- orbis demo
|
- orbis demo
|
||||||
|
|
||||||
### Other
|
### Other
|
||||||
|
- add more specific log for when leader is acquired
|
||||||
- add basic leader election on top of postgres
|
- add basic leader election on top of postgres
|
||||||
|
|
||||||
- add orbis demo
|
- add orbis demo
|
||||||
|
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