Sayan Nandan
3a6083b3f1
Add `AuthProvider` definition
3 years ago
Sayan Nandan
7285d63908
Simplify `Once` implementation
3 years ago
Sayan Nandan
6ed994fe19
Add `Once` implementation
3 years ago
Sayan Nandan
53d4c2b529
Use `TcpBackoff` in `SslListener` as well
3 years ago
Sayan Nandan
d2e297e367
Use dedicated backoff algorithm for busy loops
...
Also use `util::exit_error` whenever possible to reduce
duplication.
3 years ago
Sayan Nandan
57f05e9788
Simplify TCP backoff impl
3 years ago
Sayan Nandan
96f817d31e
Simplify `resp` impls
...
The `RespCode` impl is no longer used, so it was removed.
3 years ago
Sayan
e9620d0a8c
Release 0.7.3 ( #238 )
...
* Bump version
* Upgrade deps
3 years ago
Sayan Nandan
49fae295d1
Simplify termination signal handling
...
Yeah, signal handling is not one of the best things to do, and it
definitely is one of the messiest things to do. This commit
simplifies the way we handle "termination signals" which can be
SIGTERM or SIGINT on POSIX-compliant systems or can be Ctrl+C
or Ctrl+Break on Windows systems; whenever we receive any of these,
we'll attempt to terminate the database server.
Now, instead of waiting for multiple futures to complete, we create
a different `TerminationSignal` type that is a `Future`, which on
polling checks whether either of the signals have been received
or closed. We return the poll state for either.
3 years ago
Sayan Nandan
ed66e4f291
Decrement threshold on first call
3 years ago
Sayan Nandan
0b87452b97
Listen to SIGTERM while in save-on-termsig retry loop
3 years ago
Sayan Nandan
2d6d776edc
Cleanup code and ensure strong_count of `Corestore` is 1
...
I suppressed some lints, but all of them will be removed very
soon. (use a TODO finder or something to see what all need to
be removed)
3 years ago
Sayan Nandan
33b0693fcb
Fix infinite loop on save failure during termination
3 years ago
Sayan Nandan
e6ae290334
Fix CI script and resolve artifact name conflict
...
[skip ci] No need for testing this.
3 years ago
Sayan Nandan
60f625196f
Fix build matrix
3 years ago
Sayan Nandan
e1bee46cac
Fix release CI script
3 years ago
Sayan Nandan
9b296cbf9b
Bump version
3 years ago
Sayan Nandan
c380a21b5f
No need to rename Debian packages
...
The Makefile does all of that for us.
3 years ago
Sayan Nandan
2e559f6733
Simplify release workflow
3 years ago
Sayan Nandan
c961548b01
Upgrade deps and bump version
3 years ago
Sayan Nandan
bb20f863b6
Add recipe for Debian packages
3 years ago
Sayan Nandan
e9369a40ef
Simplify recipes
3 years ago
Sayan Nandan
b1123a6de9
Fix release CI script for ARM64
3 years ago
Sayan Nandan
0b54ea1cb3
Bump up version
3 years ago
Sayan Nandan
6f28ff65b1
Move ARM release builds to Drone
3 years ago
Glydr
e25a91e366
Merge pull request #237 from skytable/lists/range
...
Add `range` to `lget`
3 years ago
Sayan Nandan
6c59bc4f31
Add changelog entry [skip ci]
3 years ago
Sayan Nandan
b52f0d42ca
Fix tests
...
Also remove certs that were incorrectly added
3 years ago
Sayan Nandan
104e4e8f2d
Add actiondoc
3 years ago
Sayan Nandan
2340a0239e
Add tests for list's range
3 years ago
Sayan Nandan
4186eda627
Add range to lists
3 years ago
Sayan Nandan
5bdcd0eb12
Move ARM64 CI entirely to drone
3 years ago
Sayan Nandan
fafd0996fa
Add drone workflow for ARM64
3 years ago
Sayan Nandan
2a791b8018
Fix docker configuration to use 0.0.0.0
3 years ago
Sayan Nandan
84134ed240
Remove `upgrade` subcommand and log on restore
...
The `upgrade` subcommand from `skyd` which was removed in 0.7, but was
erroneously accepted in the CLI parameters has been removed. This
was silently ignored.
3 years ago
Sayan Nandan
36b02e9099
Fix backup restoration and simplify `arbiter::run`
3 years ago
Glydr
5c5fe3573f
Merge pull request #236 from skytable/config/modeset
...
Implement dev/prod mode, error stack and fix config bugs
3 years ago
Sayan Nandan
d550e0d7a7
Expect `noart` in production mode
...
This might make one think that we are being outrageously strict,
but at the end of the day, it can help investigate crashes
or inspect logs without artwork all over the place.
Following some discussions, the `user` mode was renamed to `dev`
mode.
This commit also upgrades some deps, other than clap which has
deprecated yaml support (we will continue to use 2.x).
Finally, the CHANGELOG was updated.
3 years ago
Sayan Nandan
46c048f855
Fix rlimit check on Windows
...
Windows (obviously) doesn't have libc's rlimit so simply avoid
any references to it
3 years ago
Sayan Nandan
d121fa96fb
Enable config evaluation for prod mode
3 years ago
Sayan Nandan
0d2a143e12
Fix warningstack_fmt test
3 years ago
Sayan Nandan
d2d96e745e
Improve maxcon diagnostic
3 years ago
Sayan Nandan
481509d927
Fix rlimit impl for 32-bit
3 years ago
Sayan Nandan
6b54217fb2
Add production-mode setting evaluation
3 years ago
Sayan Nandan
4325cf9065
Add method to check number of open files on unix-based systems
3 years ago
Sayan Nandan
857e05529a
Add CLI config tests and improve diagnostic tests
3 years ago
Sayan Nandan
59a67ba0c5
Add cfg file tests
3 years ago
Sayan Nandan
53218ee98a
Add tests for types that implement `TryFromConfigSource`
3 years ago
Sayan Nandan
647d6ce05c
Add tests for config impl
3 years ago
Sayan Nandan
ce7d7bef25
Fix config change checks and error messages
3 years ago