public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/valkey] rawhide: Valkey 9.2.0-rc1
@ 2026-09-22  5:12 Petr Khartskhaev
  0 siblings, 0 replies; only message in thread
From: Petr Khartskhaev @ 2026-09-22  5:12 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/valkey
Branch : rawhide
Commit : 05caf09a128920fbc3fb91f07b66f855365c0483
Author : Petr Khartskhaev <pkhartsk@redhat.com>
Date   : 2026-09-22T07:02:07+02:00
Stats  : +83/-75 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/valkey/c/05caf09a128920fbc3fb91f07b66f855365c0483?branch=rawhide

Log:
Valkey 9.2.0-rc1

---
diff --git a/.gitignore b/.gitignore
index 88f8d7a..f3542c4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@ valkey-doc-9.0.*.tar.gz
 /valkey-doc-9.1.1.tar.gz
 /valkey-9.1.2.tar.gz
 /valkey-doc-9.1.2.tar.gz
+/valkey-9.2.0-rc1.tar.gz

diff --git a/sources b/sources
index 069d4a9..6ae30d3 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (valkey-9.1.2.tar.gz) = 04d7cde9a1ecc856f7c2b6e45c96ca882cd984ddbdf5d89bdca451c708d82846eabbafde694c1d7b99e6bd41cf079c963b599b435f2d5bb4ffddfe25bb1a74af
+SHA512 (valkey-9.2.0-rc1.tar.gz) = 07578274fa87c51e39a1fd3ded79d5b6073a77b20d8ffb118a5140eb44a7b164ffa4fd449020b419628fb9d693886c007b776f392648c48a44f5ea73513bf94c
 SHA512 (valkey-doc-9.1.2.tar.gz) = 8626a627f054b4eb20e474c2dd4588f93c056db9e0947f1d0089415492f3ab2029e132ff625cb91cab480d671b9b6cd4b43e8c479458b8ae5d615cfe6e98a398

diff --git a/valkey-conf.patch b/valkey-conf.patch
index 06455de..d999f45 100644
--- a/valkey-conf.patch
+++ b/valkey-conf.patch
@@ -1,6 +1,7 @@
-diff -up ./sentinel.conf.rpm ./sentinel.conf
---- ./sentinel.conf.rpm	2025-07-07 09:18:20.000000000 +0200
-+++ ./sentinel.conf	2025-08-01 07:57:21.892278834 +0200
+diff --git a/sentinel.conf.rpm b/sentinel.conf
+index 53cb011..8a7d848 100644
+--- a/sentinel.conf.rpm
++++ b/sentinel.conf
 @@ -17,7 +17,7 @@ daemonize no
  # When running daemonized, Valkey Sentinel writes a pid file in
  # /var/run/valkey-sentinel.pid by default. You can specify a custom pid file
@@ -19,9 +20,10 @@ diff -up ./sentinel.conf.rpm ./sentinel.conf
  
  # To enable logging to the system logger, just set 'syslog-enabled' to yes,
  # and optionally update the other syslog parameters to suit your needs.
-diff -up ./valkey.conf.rpm ./valkey.conf
---- ./valkey.conf.rpm	2025-07-07 09:18:20.000000000 +0200
-+++ ./valkey.conf	2025-08-01 07:57:17.825116953 +0200
+diff --git a/valkey.conf.rpm b/valkey.conf
+index 7f04656..ececdf7 100644
+--- a/valkey.conf.rpm
++++ b/valkey.conf
 @@ -43,6 +43,9 @@
  # include /path/to/other.conf
  # include /path/to/fragments/*.conf
@@ -32,16 +34,16 @@ diff -up ./valkey.conf.rpm ./valkey.conf
  
  ################################## MODULES #####################################
  
-@@ -163,7 +166,7 @@
- # incoming connections. There is no default, so the server will not listen
- # on a unix socket when not specified.
+@@ -168,7 +171,7 @@ tcp-backlog 511
+ # a systemd unit with `SystemCallFilter` restricting `@resources`),
+ # `chown` must be explicitly allowed or the server will fail to start.
  #
 -# unixsocket /run/valkey.sock
 +unixsocket /run/valkey/valkey.sock
  # unixsocketgroup wheel
  # unixsocketperm 700
  
-@@ -425,7 +428,7 @@
+@@ -441,7 +444,7 @@ daemonize no
  #
  # Note that on modern Linux systems "/run/valkey.pid" is more conforming
  # and should be used instead.
@@ -50,7 +52,7 @@ diff -up ./valkey.conf.rpm ./valkey.conf
  
  # Specify the server verbosity level.
  # This can be one of:
-@@ -457,7 +460,7 @@
+@@ -473,7 +476,7 @@ loglevel notice
  # Specify the log file name. Also the empty string can be used to force
  # the server to log on the standard output. Note that if you use standard
  # output for logging but daemonize, logs will be sent to /dev/null
@@ -59,7 +61,7 @@ diff -up ./valkey.conf.rpm ./valkey.conf
  
  # To enable logging to the system logger, just set 'syslog-enabled' to yes,
  # and optionally update the other syslog parameters to suit your needs.
-@@ -661,7 +664,7 @@
+@@ -704,7 +707,7 @@ rdb-del-sync-files no
  # Note that modifying 'dir' during runtime may have unexpected behavior,
  # for example when a child process is running, related file operations may
  # have unexpected effects.

diff --git a/valkey-loadmod.patch b/valkey-loadmod.patch
index 5fcd2f0..4a8c13c 100644
--- a/valkey-loadmod.patch
+++ b/valkey-loadmod.patch
@@ -1,7 +1,8 @@
-diff -up ./src/config.c.loadmod ./src/config.c
---- ./src/config.c.loadmod	2026-04-28 18:32:37.000000000 +0200
-+++ ./src/config.c	2026-04-29 09:34:55.668568785 +0200
-@@ -455,6 +455,8 @@ static int updateClientOutputBufferLimit
+diff --git a/src/config.c.loadmod b/src/config.c
+index a8b20c6..bdde991 100644
+--- a/src/config.c.loadmod
++++ b/src/config.c
+@@ -489,6 +489,8 @@ static int updateClientOutputBufferLimit(sds *args, int arg_len, const char **er
   * within conf file parsing. This is only needed to support the deprecated
   * abnormal aggregate `save T C` functionality. Remove in the future. */
  static int reading_config_file;
@@ -10,7 +11,7 @@ diff -up ./src/config.c.loadmod ./src/config.c
  
  void loadServerConfigFromString(sds config) {
      deprecatedConfig deprecated_configs[] = {
-@@ -547,7 +549,9 @@ void loadServerConfigFromString(sds conf
+@@ -582,7 +584,9 @@ void loadServerConfigFromString(sds config) {
  
          /* Execute config directives */
          if (!strcasecmp(argv[0], "include") && argc == 2) {
@@ -20,7 +21,7 @@ diff -up ./src/config.c.loadmod ./src/config.c
          } else if (!strcasecmp(argv[0], "rename-command") && argc == 3) {
              struct serverCommand *cmd = lookupCommandBySds(argv[1]);
  
-@@ -580,7 +584,7 @@ void loadServerConfigFromString(sds conf
+@@ -623,7 +627,7 @@ void loadServerConfigFromString(sds config) {
                  goto loaderr;
              }
          } else if (!strcasecmp(argv[0], "loadmodule") && argc >= 2) {
@@ -29,19 +30,20 @@ diff -up ./src/config.c.loadmod ./src/config.c
          } else if (strchr(argv[0], '.')) {
              if (argc < 2) {
                  err = "Module config specified without value";
-@@ -1625,7 +1629,7 @@ void rewriteConfigLoadmoduleOption(struc
-         struct ValkeyModule *module = dictGetVal(de);
+@@ -1711,7 +1715,7 @@ void rewriteConfigLoadmoduleOption(struct rewriteConfigState *state) {
+         struct ValkeyModule *module = listNodeValue(ln);
          if (module->is_static_module) continue;
          line = moduleLoadQueueEntryToLoadmoduleOptionStr(module, "loadmodule");
 -        rewriteConfigRewriteLine(state, "loadmodule", line, 1);
 +        if (line) rewriteConfigRewriteLine(state, "loadmodule", line, 1);
      }
-     dictReleaseIterator(di);
-     /* Mark "loadmodule" as processed in case modules is empty. */
-diff -up ./src/module.c.loadmod ./src/module.c
---- ./src/module.c.loadmod	2026-04-28 18:32:37.000000000 +0200
-+++ ./src/module.c	2026-04-29 09:47:30.216571253 +0200
-@@ -83,6 +83,7 @@
+     /* Mark "loadmodule" as processed in case no modules are loaded. */
+     rewriteConfigMarkAsProcessed(state, "loadmodule");
+diff --git a/src/module.c.loadmod b/src/module.c
+index 5c7d507..30f79f0 100644
+--- a/src/module.c.loadmod
++++ b/src/module.c
+@@ -87,6 +87,7 @@
  
  struct moduleLoadQueueEntry {
      sds path;
@@ -49,7 +51,7 @@ diff -up ./src/module.c.loadmod ./src/module.c
      int argc;
      robj **argv;
  };
-@@ -679,7 +680,7 @@ void freeClientModuleData(client *c) {
+@@ -716,7 +717,7 @@ void freeClientModuleData(client *c) {
      c->module_data = NULL;
  }
  
@@ -58,7 +60,7 @@ diff -up ./src/module.c.loadmod ./src/module.c
      int i;
      struct moduleLoadQueueEntry *loadmod;
  
-@@ -687,6 +688,7 @@ void moduleEnqueueLoadModule(sds path, s
+@@ -724,6 +725,7 @@ void moduleEnqueueLoadModule(sds path, sds *argv, int argc) {
      loadmod->argv = argc ? zmalloc(sizeof(robj *) * argc) : NULL;
      loadmod->path = sdsnew(path);
      loadmod->argc = argc;
@@ -66,7 +68,7 @@ diff -up ./src/module.c.loadmod ./src/module.c
      for (i = 0; i < argc; i++) {
          loadmod->argv[i] = createRawStringObject(argv[i], sdslen(argv[i]));
      }
-@@ -697,6 +699,10 @@ sds moduleLoadQueueEntryToLoadmoduleOpti
+@@ -734,6 +736,10 @@ sds moduleLoadQueueEntryToLoadmoduleOptionStr(ValkeyModule *module,
                                                const char *config_option_str) {
      sds line;
  
@@ -77,25 +79,25 @@ diff -up ./src/module.c.loadmod ./src/module.c
      line = sdsnew(config_option_str);
      line = sdscatlen(line, " ", 1);
      line = sdscatsds(line, module->loadmod->path);
-@@ -13148,7 +13154,7 @@ void moduleLoadFromQueue(void) {
-     listRewind(server.loadmodule_queue, &li);
+@@ -13465,7 +13471,7 @@ void moduleLoadFromQueue(void) {
      while ((ln = listNext(&li))) {
          struct moduleLoadQueueEntry *loadmod = ln->value;
--        if (moduleLoad(loadmod->path, (void **)loadmod->argv, loadmod->argc, 0) == C_ERR) {
-+        if (moduleLoad(loadmod->path, (void **)loadmod->argv, loadmod->argc, 0, loadmod->from_include) == C_ERR) {
-             serverLog(LL_WARNING, "Can't load module from %s: server aborting", loadmod->path);
+         const char *errmsg = NULL;
+-        if (moduleLoad(loadmod->path, (void **)loadmod->argv, loadmod->argc, 0, &errmsg) == C_ERR) {
++        if (moduleLoad(loadmod->path, (void **)loadmod->argv, loadmod->argc, 0, &errmsg, loadmod->from_include) == C_ERR) {
+             serverLog(LL_WARNING, "Can't load module from %s: %s. Server aborting.", loadmod->path,
+                       errmsg ? errmsg : "unknown error");
              exit(1);
-         }
-@@ -13346,7 +13352,7 @@ static int moduleInitPostOnLoadResolved(
-                                         void **module_argv,
+@@ -13690,7 +13696,7 @@ static int moduleInitPostOnLoadResolved(ModuleLoadFunc onload,
                                          int module_argc,
                                          int is_loadex,
--                                        int is_static) {
-+                                        int is_static, int from_include) {
+                                         int is_static,
+-                                        const char **errmsg) {
++                                        const char **errmsg, int from_include) {
      ValkeyModuleCtx ctx;
      moduleCreateContext(&ctx, NULL, VALKEYMODULE_CTX_TEMP_CLIENT); /* We pass NULL since we don't have a module yet. */
      if (onload((void *)&ctx, module_argv, module_argc) == VALKEYMODULE_ERR) {
-@@ -13383,6 +13389,7 @@ static int moduleInitPostOnLoadResolved(
+@@ -13729,6 +13735,7 @@ static int moduleInitPostOnLoadResolved(ModuleLoadFunc onload,
      ctx.module->loadmod->path = sdsnew(display_name);
      ctx.module->loadmod->argv = module_argc ? zmalloc(sizeof(robj *) * module_argc) : NULL;
      ctx.module->loadmod->argc = module_argc;
@@ -103,55 +105,56 @@ diff -up ./src/module.c.loadmod ./src/module.c
      for (int i = 0; i < module_argc; i++) {
          ctx.module->loadmod->argv[i] = module_argv[i];
          incrRefCount(ctx.module->loadmod->argv[i]);
-@@ -13427,7 +13434,7 @@ static int moduleInitPostOnLoadResolved(
+@@ -13775,7 +13782,7 @@ static int moduleInitPostOnLoadResolved(ModuleLoadFunc onload,
  
  /* Load a module and initialize it. On success C_OK is returned, otherwise
-  * C_ERR is returned. */
--int moduleLoad(const char *path, void **module_argv, int module_argc, int is_loadex) {
-+int moduleLoad(const char *path, void **module_argv, int module_argc, int is_loadex, int from_include) {
+  * C_ERR is returned and errmsg is set with an appropriate message. */
+-int moduleLoad(const char *path, void **module_argv, int module_argc, int is_loadex, const char **errmsg) {
++int moduleLoad(const char *path, void **module_argv, int module_argc, int is_loadex, const char **errmsg, int from_include) {
      ModuleLoadFunc onload;
      void *handle;
  
-@@ -13476,7 +13483,7 @@ int moduleLoad(const char *path, void **
-                   path);
+@@ -13845,7 +13852,7 @@ int moduleLoad(const char *path, void **module_argv, int module_argc, int is_loa
+         if (errmsg) *errmsg = "module does not export the OnLoad symbol";
          return C_ERR;
      }
--    return moduleInitPostOnLoadResolved(onload, handle, path, module_argv, module_argc, is_loadex, 0);
-+    return moduleInitPostOnLoadResolved(onload, handle, path, module_argv, module_argc, is_loadex, 0, from_include);
+-    return moduleInitPostOnLoadResolved(onload, handle, path, module_argv, module_argc, is_loadex, 0, errmsg);
++    return moduleInitPostOnLoadResolved(onload, handle, path, module_argv, module_argc, is_loadex, 0, errmsg, from_include);
  }
  
  /* Resolve a symbol from a statically linked module. The symbol is looked up
-@@ -13542,7 +13549,7 @@ int moduleLoadStatic(const char *module_
+@@ -13911,7 +13918,7 @@ int moduleLoadStatic(const char *module_name, void **module_argv, int module_arg
          return C_ERR;
      }
      return moduleInitPostOnLoadResolved(onload, handle, module_name, module_argv, module_argc,
--                                        is_loadex, 1);
-+                                        is_loadex, 1, 1);
+-                                        is_loadex, 1, NULL);
++                                        is_loadex, 1, NULL, 1);
  }
  
  static int moduleUnloadInternal(struct ValkeyModule *module, const char **errmsg) {
-@@ -14582,7 +14589,7 @@ void moduleCommand(client *c) {
-             argv = &c->argv[3];
+@@ -14963,7 +14970,7 @@ void moduleCommand(client *c) {
          }
  
--        if (moduleLoad(objectGetVal(c->argv[2]), (void **)argv, argc, 0) == C_OK)
-+        if (moduleLoad(objectGetVal(c->argv[2]), (void **)argv, argc, 0, 0) == C_OK)
-             addReply(c, shared.ok);
-         else
-             addReplyError(c, "Error loading the extension. Please check the server logs.");
-@@ -14597,7 +14604,7 @@ void moduleCommand(client *c) {
-         /* If this is a loadex command we want to populate server.module_configs_queue with
-          * sds NAME VALUE pairs. We also want to increment argv to just after ARGS, if supplied. */
-         if (parseLoadexArguments((ValkeyModuleString ***)&argv, &argc) == VALKEYMODULE_OK &&
--            moduleLoad(objectGetVal(c->argv[2]), (void **)argv, argc, 1) == C_OK)
-+            moduleLoad(objectGetVal(c->argv[2]), (void **)argv, argc, 1, 0) == C_OK)
+         const char *errmsg = NULL;
+-        if (moduleLoad(objectGetVal(c->argv[2]), (void **)argv, argc, 0, &errmsg) == C_OK)
++        if (moduleLoad(objectGetVal(c->argv[2]), (void **)argv, argc, 0, &errmsg, 0) == C_OK)
              addReply(c, shared.ok);
          else {
+             if (errmsg == NULL) errmsg = "operation not possible";
+@@ -14983,7 +14990,7 @@ void moduleCommand(client *c) {
+         if (parseLoadexArguments((ValkeyModuleString ***)&argv, &argc) != VALKEYMODULE_OK) {
+             dictEmpty(server.module_configs_queue, NULL);
+             addReplyError(c, "Error loading module: invalid LOADEX arguments");
+-        } else if (moduleLoad(objectGetVal(c->argv[2]), (void **)argv, argc, 1, &errmsg) == C_OK) {
++        } else if (moduleLoad(objectGetVal(c->argv[2]), (void **)argv, argc, 1, &errmsg, 0) == C_OK) {
+             addReply(c, shared.ok);
+         } else {
              dictEmpty(server.module_configs_queue, NULL);
-diff -up ./src/module.h.loadmod ./src/module.h
---- ./src/module.h.loadmod	2026-04-28 18:32:37.000000000 +0200
-+++ ./src/module.h	2026-04-29 09:35:56.783998866 +0200
-@@ -174,7 +174,7 @@ static inline void moduleInitDigestConte
+diff --git a/src/module.h.loadmod b/src/module.h
+index f1b1bc0..e9a0323 100644
+--- a/src/module.h.loadmod
++++ b/src/module.h
+@@ -174,7 +174,7 @@ static inline void moduleInitDigestContext(ValkeyModuleDigest *mdvar) {
      memset(mdvar->x, 0, sizeof(mdvar->x));
  }
  
@@ -160,13 +163,12 @@ diff -up ./src/module.h.loadmod ./src/module.h
  sds moduleLoadQueueEntryToLoadmoduleOptionStr(ValkeyModule *module,
                                                const char *config_option_str);
  ValkeyModuleCtx *moduleAllocateContext(void);
-@@ -186,7 +186,7 @@ void moduleFreeContext(ValkeyModuleCtx *
+@@ -186,7 +186,7 @@ void moduleFreeContext(ValkeyModuleCtx *ctx);
  void moduleInitModulesSystem(void);
  void moduleInitModulesSystemLast(void);
  void modulesCron(void);
--int moduleLoad(const char *path, void **argv, int argc, int is_loadex);
-+int moduleLoad(const char *path, void **argv, int argc, int is_loadex, int from_include);
+-int moduleLoad(const char *path, void **argv, int argc, int is_loadex, const char **errmsg);
++int moduleLoad(const char *path, void **argv, int argc, int is_loadex, const char **errmsg, int from_include);
  int moduleLoadStatic(const char *path, void **argv, int argc, int is_loadex);
  int moduleUnload(sds name, const char **errmsg);
  void moduleUnloadAllModules(void);
-diff -up ./src/server.c.loadmod ./src/server.c

diff --git a/valkey.spec b/valkey.spec
index ddbe12f..a94958a 100644
--- a/valkey.spec
+++ b/valkey.spec
@@ -9,8 +9,8 @@
 # Tests fail in mock, not in local build.
 %bcond_with tests
 
-%global upstream_version 9.1.2
-#%%global upstream_prever
+%global upstream_version 9.2.0
+%global upstream_prever rc1
 
 Name:              valkey
 Version:           %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
@@ -450,6 +450,9 @@ fi
 
 
 %changelog
+* Fri Sep 18 2026 Petr Khartskhaev <pkhartsk@redhat.com> - 9.2.0~rc1-1
+- Valkey 9.2.0-rc1
+
 * Tue Sep  1 2026 Remi Collet <remi@remirepo.net> - 9.1.2-1
 - Valkey 9.1.2 - Released Mon 31 August 2026
 - Upgrade urgency SECURITY: This release includes security fixes

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-22  5:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-22  5:12 [rpms/valkey] rawhide: Valkey 9.2.0-rc1 Petr Khartskhaev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox