addressing comments from merge review
Former-commit-id: 955aa69ca16ca7230d5099ad16f6f825402b5dd5
This commit is contained in:
parent
5c145039d4
commit
efa9d4ef98
@ -61,4 +61,4 @@ sudo pbuilder --build *.dsc --logfile /mnt/pbuilderlog.log
|
||||
cp /var/cache/pbuilder/result/*$version*.deb ../deb_files_generated
|
||||
sudo pbuilder clean
|
||||
cd ../
|
||||
#rm -rf $pkg_name
|
||||
rm -rf $pkg_name
|
||||
|
@ -1855,7 +1855,7 @@ int rewriteConfig(char *path, int force_all) {
|
||||
rewriteConfigClientoutputbufferlimitOption(state);
|
||||
rewriteConfigYesNoOption(state,"active-replica",g_pserver->fActiveReplica,CONFIG_DEFAULT_ACTIVE_REPLICA);
|
||||
rewriteConfigStringOption(state, "version-override",KEYDB_SET_VERSION,KEYDB_REAL_VERSION);
|
||||
rewriteConfigStringOption(state, "enable-pro", cserver.license_key, CONFIG_DEFAULT_LICENSE_KEY);
|
||||
rewriteConfigStringOption(state, "enable-enterprise", cserver.license_key, CONFIG_DEFAULT_LICENSE_KEY);
|
||||
rewriteConfigOOMScoreAdjValuesOption(state);
|
||||
|
||||
/* Rewrite Sentinel config if in Sentinel mode. */
|
||||
|
@ -2747,8 +2747,8 @@ void syncWithMaster(connection *conn) {
|
||||
err = sendSynchronousCommand(mi, SYNC_CMD_READ,conn,NULL);
|
||||
if (err[0] == '-') {
|
||||
if (err[1] == 'E' && err[2] == 'R' && err[3] == 'R') {
|
||||
// Replicating with non-pro
|
||||
serverLog(LL_WARNING, "Replicating with non-pro server.");
|
||||
// Replicating with non-enterprise
|
||||
serverLog(LL_WARNING, "Replicating with non-enterprise server.");
|
||||
} else {
|
||||
serverLog(LL_WARNING, "Recieved error from client: %s", err);
|
||||
sdsfree(err);
|
||||
|
@ -71,7 +71,7 @@
|
||||
|
||||
int g_fTestMode = false;
|
||||
const char *motd_url = "http://api.keydb.dev/motd/motd_server_pro.txt";
|
||||
const char *motd_cache_file = "/.keydb-pro-server-motd";
|
||||
const char *motd_cache_file = "/.keydb-enterprise-server-motd";
|
||||
|
||||
#ifdef __linux__
|
||||
#include <sys/mman.h>
|
||||
@ -5426,7 +5426,7 @@ sds genRedisInfoString(const char *section) {
|
||||
if (sections++) info = sdscat(info,"\r\n");
|
||||
info = sdscatprintf(info,
|
||||
"# KeyDB\r\n"
|
||||
"variant:pro\r\n"
|
||||
"variant:enterprise\r\n"
|
||||
"license_status:%s\r\n"
|
||||
"mvcc_depth:%d\r\n",
|
||||
cserver.license_key ? "OK" : "Trial",
|
||||
|
Loading…
x
Reference in New Issue
Block a user