Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config get/set/rewrite issues #250

Closed
fancy-rabbit opened this issue Mar 19, 2018 · 1 comment
Closed

config get/set/rewrite issues #250

fancy-rabbit opened this issue Mar 19, 2018 · 1 comment

Comments

@fancy-rabbit
Copy link
Collaborator

  1. the result of config set * doesn't include max-background-(flushes|compactions), but config rewrite will overwrite the config file...

  2. if pika-2.3.* uses conf file of old version(i.e. 2.2.6) which doesn't include slave-priority,
    config rewrite will remove this from the file ....

@Leviathan1995
Copy link
Contributor

fixed.

AlexStocks added a commit that referenced this issue Dec 1, 2023
* add dependences

* fix: add_ci (#229)

add_ci

Co-authored-by: wuxianrong <[email protected]>

* formate code style && fix centos build bug

* fix centos build bug

* format code style

* format

* rename classname

* format code

* use cache define

* upgrade rediscache version to v0.1.3

* change file name

* using DEFER

* fix github ci failure

* add_string_cache【暂时不修改格式及代码风格,会在最后一个PR统一做修改】 (#237)

add_string_cache

* add_slave_cache (#243)

Co-authored-by: wuxianrong <[email protected]>

* fix:cache string (#247)

fix_cache_string

* add_bitmap_cache (#255)

* add_bitmap_cache
Co-authored-by: chejinge <[email protected]>

* add string cache cmd (#252)

add_string_cache_cmd

Co-authored-by: wuxianrong <[email protected]>

* add list cache cmd (#250)

add_list_cache_cmd

Co-authored-by: wuxianrong <[email protected]>

* cache set command (#256)

* set_cache

Co-authored-by: chejinge <[email protected]>

* add hash cache cmd (#251)

add_hash_cache_cmd

Co-authored-by: wuxianrong <[email protected]>

* cache zset command (#257)

* cache zset command

Co-authored-by: chejinge <[email protected]>

* Update pika_zset.h

* add Pika Cache Status (#259)

Add Pika-Cache-Status

Co-authored-by: wuxianrong <[email protected]>

* cache index

* git revert

* 【fix】cache Asynchronous transmission (#265)

fix cache Asynchronous transmission

Co-authored-by: wuxianrong <[email protected]>

* add defer (#269)

add_defer

Co-authored-by: wuxianrong <[email protected]>

* cache index (#260)

* cache index

Co-authored-by: chejinge <[email protected]>
Co-authored-by: wuxianrong <[email protected]>

* Support for multiple databases   (#275)

* delete_pika_cache_manager

* Support for multiple databases

---------

Co-authored-by: wuxianrong <[email protected]>

* smart pointer and lock granularity && set don't update cache (#277)

Co-authored-by: chejinge <[email protected]>

* fix_lock (#278)

Co-authored-by: wuxianrong <[email protected]>

* fix_command_bug (#282)

* fix_command_bug

Co-authored-by: chejinge <[email protected]>

* Fix del mget (#291)

 fix_del_command&&HMSET HMGET

---------

Co-authored-by: chejinge <[email protected]>

* bugfix:ttl&&exits command (#300)

* fix_ttl_exits
---------

Co-authored-by: chejinge <[email protected]>

* fix: hash/list/set/zset test (#285)

* fix hash/list test

* fix set/zset test

---------

Co-authored-by: wuxianrong <[email protected]>

* fix bitpos strlen msetnx

* fix bitpos strlen msetnx

* Update pika_kv.cc

* Update pika_command.cc

* fix: hash/zset test cache (#302)

* fix hash/list test

Co-authored-by: wuxianrong <[email protected]>

* fix Master-slave test

* code format (#316)

Co-authored-by: wuxianrong <[email protected]>

* fix:cache code style

* fix:cache code style

* fix

* Supports multi-DB asynchronous data transfer   (#317)

* code format

* support dbs

---------

Co-authored-by: wuxianrong <[email protected]>

* fix conflict and change name

* fix conflict and change name

* fix conflict and change name

* Update pika_admin.cc

* Update pika_admin.cc

* Initialization variable   (#321)

add_comment

Co-authored-by: wuxianrong <[email protected]>

* fix_flushdb

* fix: Cache flushdb (#322)

fix_flushdb

Co-authored-by: wuxianrong <[email protected]>

* Fix cache mget (#323)

* fix_mget

* fix_lock_and_multi_caches

* fix_mem_leak

* fix_mem_leak

* fix

* add cacheclean command

* fix coreedump

* Fix:mem leak (#329)

fix:hdel

Co-authored-by: chejinge <[email protected]>

* Update pika_admin.cc

* Update pika.conf

* Update pika.conf

* fix_license

* remove nullpter

---------

Co-authored-by: chejinge <[email protected]>
Co-authored-by: Mixficsol <[email protected]>
Co-authored-by: wuxianrong <[email protected]>
Co-authored-by: Xin.Zh <[email protected]>
Co-authored-by: alexstocks <[email protected]>
AlexStocks added a commit that referenced this issue Dec 1, 2023
* add dependences

* fix: add_ci (#229)

add_ci

Co-authored-by: wuxianrong <[email protected]>

* formate code style && fix centos build bug

* fix centos build bug

* format code style

* format

* rename classname

* format code

* use cache define

* upgrade rediscache version to v0.1.3

* change file name

* using DEFER

* fix github ci failure

* add_string_cache【暂时不修改格式及代码风格,会在最后一个PR统一做修改】 (#237)

add_string_cache

* add_slave_cache (#243)

Co-authored-by: wuxianrong <[email protected]>

* fix:cache string (#247)

fix_cache_string

* add_bitmap_cache (#255)

* add_bitmap_cache
Co-authored-by: chejinge <[email protected]>

* add string cache cmd (#252)

add_string_cache_cmd

Co-authored-by: wuxianrong <[email protected]>

* add list cache cmd (#250)

add_list_cache_cmd

Co-authored-by: wuxianrong <[email protected]>

* cache set command (#256)

* set_cache

Co-authored-by: chejinge <[email protected]>

* add hash cache cmd (#251)

add_hash_cache_cmd

Co-authored-by: wuxianrong <[email protected]>

* cache zset command (#257)

* cache zset command

Co-authored-by: chejinge <[email protected]>

* Update pika_zset.h

* add Pika Cache Status (#259)

Add Pika-Cache-Status

Co-authored-by: wuxianrong <[email protected]>

* cache index

* git revert

* 【fix】cache Asynchronous transmission (#265)

fix cache Asynchronous transmission

Co-authored-by: wuxianrong <[email protected]>

* add defer (#269)

add_defer

Co-authored-by: wuxianrong <[email protected]>

* cache index (#260)

* cache index

Co-authored-by: chejinge <[email protected]>
Co-authored-by: wuxianrong <[email protected]>

* Support for multiple databases   (#275)

* delete_pika_cache_manager

* Support for multiple databases

---------

Co-authored-by: wuxianrong <[email protected]>

* smart pointer and lock granularity && set don't update cache (#277)

Co-authored-by: chejinge <[email protected]>

* fix_lock (#278)

Co-authored-by: wuxianrong <[email protected]>

* fix_command_bug (#282)

* fix_command_bug

Co-authored-by: chejinge <[email protected]>

* Fix del mget (#291)

 fix_del_command&&HMSET HMGET

---------

Co-authored-by: chejinge <[email protected]>

* bugfix:ttl&&exits command (#300)

* fix_ttl_exits
---------

Co-authored-by: chejinge <[email protected]>

* fix: hash/list/set/zset test (#285)

* fix hash/list test

* fix set/zset test

---------

Co-authored-by: wuxianrong <[email protected]>

* fix bitpos strlen msetnx

* fix bitpos strlen msetnx

* Update pika_kv.cc

* Update pika_command.cc

* fix: hash/zset test cache (#302)

* fix hash/list test

Co-authored-by: wuxianrong <[email protected]>

* fix Master-slave test

* code format (#316)

Co-authored-by: wuxianrong <[email protected]>

* fix:cache code style

* fix:cache code style

* fix

* Supports multi-DB asynchronous data transfer   (#317)

* code format

* support dbs

---------

Co-authored-by: wuxianrong <[email protected]>

* fix conflict and change name

* fix conflict and change name

* fix conflict and change name

* Update pika_admin.cc

* Update pika_admin.cc

* Initialization variable   (#321)

add_comment

Co-authored-by: wuxianrong <[email protected]>

* fix_flushdb

* fix: Cache flushdb (#322)

fix_flushdb

Co-authored-by: wuxianrong <[email protected]>

* Fix cache mget (#323)

* fix_mget

* fix_lock_and_multi_caches

* fix_mem_leak

* fix_mem_leak

* fix

* add cacheclean command

* fix coreedump

* Fix:mem leak (#329)

fix:hdel

Co-authored-by: chejinge <[email protected]>

* Update pika_admin.cc

* Update pika.conf

* Update pika.conf

* fix_license

* remove nullpter

---------

Co-authored-by: chejinge <[email protected]>
Co-authored-by: Mixficsol <[email protected]>
Co-authored-by: wuxianrong <[email protected]>
Co-authored-by: Xin.Zh <[email protected]>
Co-authored-by: alexstocks <[email protected]>
bigdaronlee163 pushed a commit to bigdaronlee163/pika that referenced this issue Jun 8, 2024
* add dependences

* fix: add_ci (OpenAtomFoundation#229)

add_ci

Co-authored-by: wuxianrong <[email protected]>

* formate code style && fix centos build bug

* fix centos build bug

* format code style

* format

* rename classname

* format code

* use cache define

* upgrade rediscache version to v0.1.3

* change file name

* using DEFER

* fix github ci failure

* add_string_cache【暂时不修改格式及代码风格,会在最后一个PR统一做修改】 (OpenAtomFoundation#237)

add_string_cache

* add_slave_cache (OpenAtomFoundation#243)

Co-authored-by: wuxianrong <[email protected]>

* fix:cache string (OpenAtomFoundation#247)

fix_cache_string

* add_bitmap_cache (OpenAtomFoundation#255)

* add_bitmap_cache
Co-authored-by: chejinge <[email protected]>

* add string cache cmd (OpenAtomFoundation#252)

add_string_cache_cmd

Co-authored-by: wuxianrong <[email protected]>

* add list cache cmd (OpenAtomFoundation#250)

add_list_cache_cmd

Co-authored-by: wuxianrong <[email protected]>

* cache set command (OpenAtomFoundation#256)

* set_cache

Co-authored-by: chejinge <[email protected]>

* add hash cache cmd (OpenAtomFoundation#251)

add_hash_cache_cmd

Co-authored-by: wuxianrong <[email protected]>

* cache zset command (OpenAtomFoundation#257)

* cache zset command

Co-authored-by: chejinge <[email protected]>

* Update pika_zset.h

* add Pika Cache Status (OpenAtomFoundation#259)

Add Pika-Cache-Status

Co-authored-by: wuxianrong <[email protected]>

* cache index

* git revert

* 【fix】cache Asynchronous transmission (OpenAtomFoundation#265)

fix cache Asynchronous transmission

Co-authored-by: wuxianrong <[email protected]>

* add defer (OpenAtomFoundation#269)

add_defer

Co-authored-by: wuxianrong <[email protected]>

* cache index (OpenAtomFoundation#260)

* cache index

Co-authored-by: chejinge <[email protected]>
Co-authored-by: wuxianrong <[email protected]>

* Support for multiple databases   (OpenAtomFoundation#275)

* delete_pika_cache_manager

* Support for multiple databases

---------

Co-authored-by: wuxianrong <[email protected]>

* smart pointer and lock granularity && set don't update cache (OpenAtomFoundation#277)

Co-authored-by: chejinge <[email protected]>

* fix_lock (OpenAtomFoundation#278)

Co-authored-by: wuxianrong <[email protected]>

* fix_command_bug (OpenAtomFoundation#282)

* fix_command_bug

Co-authored-by: chejinge <[email protected]>

* Fix del mget (OpenAtomFoundation#291)

 fix_del_command&&HMSET HMGET

---------

Co-authored-by: chejinge <[email protected]>

* bugfix:ttl&&exits command (OpenAtomFoundation#300)

* fix_ttl_exits
---------

Co-authored-by: chejinge <[email protected]>

* fix: hash/list/set/zset test (OpenAtomFoundation#285)

* fix hash/list test

* fix set/zset test

---------

Co-authored-by: wuxianrong <[email protected]>

* fix bitpos strlen msetnx

* fix bitpos strlen msetnx

* Update pika_kv.cc

* Update pika_command.cc

* fix: hash/zset test cache (OpenAtomFoundation#302)

* fix hash/list test

Co-authored-by: wuxianrong <[email protected]>

* fix Master-slave test

* code format (OpenAtomFoundation#316)

Co-authored-by: wuxianrong <[email protected]>

* fix:cache code style

* fix:cache code style

* fix

* Supports multi-DB asynchronous data transfer   (OpenAtomFoundation#317)

* code format

* support dbs

---------

Co-authored-by: wuxianrong <[email protected]>

* fix conflict and change name

* fix conflict and change name

* fix conflict and change name

* Update pika_admin.cc

* Update pika_admin.cc

* Initialization variable   (OpenAtomFoundation#321)

add_comment

Co-authored-by: wuxianrong <[email protected]>

* fix_flushdb

* fix: Cache flushdb (OpenAtomFoundation#322)

fix_flushdb

Co-authored-by: wuxianrong <[email protected]>

* Fix cache mget (OpenAtomFoundation#323)

* fix_mget

* fix_lock_and_multi_caches

* fix_mem_leak

* fix_mem_leak

* fix

* add cacheclean command

* fix coreedump

* Fix:mem leak (OpenAtomFoundation#329)

fix:hdel

Co-authored-by: chejinge <[email protected]>

* Update pika_admin.cc

* Update pika.conf

* Update pika.conf

* fix_license

* remove nullpter

---------

Co-authored-by: chejinge <[email protected]>
Co-authored-by: Mixficsol <[email protected]>
Co-authored-by: wuxianrong <[email protected]>
Co-authored-by: Xin.Zh <[email protected]>
Co-authored-by: alexstocks <[email protected]>
cheniujh pushed a commit to cheniujh/pika that referenced this issue Sep 24, 2024
* add dependences

* fix: add_ci (OpenAtomFoundation#229)

add_ci

Co-authored-by: wuxianrong <[email protected]>

* formate code style && fix centos build bug

* fix centos build bug

* format code style

* format

* rename classname

* format code

* use cache define

* upgrade rediscache version to v0.1.3

* change file name

* using DEFER

* fix github ci failure

* add_string_cache【暂时不修改格式及代码风格,会在最后一个PR统一做修改】 (OpenAtomFoundation#237)

add_string_cache

* add_slave_cache (OpenAtomFoundation#243)

Co-authored-by: wuxianrong <[email protected]>

* fix:cache string (OpenAtomFoundation#247)

fix_cache_string

* add_bitmap_cache (OpenAtomFoundation#255)

* add_bitmap_cache
Co-authored-by: chejinge <[email protected]>

* add string cache cmd (OpenAtomFoundation#252)

add_string_cache_cmd

Co-authored-by: wuxianrong <[email protected]>

* add list cache cmd (OpenAtomFoundation#250)

add_list_cache_cmd

Co-authored-by: wuxianrong <[email protected]>

* cache set command (OpenAtomFoundation#256)

* set_cache

Co-authored-by: chejinge <[email protected]>

* add hash cache cmd (OpenAtomFoundation#251)

add_hash_cache_cmd

Co-authored-by: wuxianrong <[email protected]>

* cache zset command (OpenAtomFoundation#257)

* cache zset command

Co-authored-by: chejinge <[email protected]>

* Update pika_zset.h

* add Pika Cache Status (OpenAtomFoundation#259)

Add Pika-Cache-Status

Co-authored-by: wuxianrong <[email protected]>

* cache index

* git revert

* 【fix】cache Asynchronous transmission (OpenAtomFoundation#265)

fix cache Asynchronous transmission

Co-authored-by: wuxianrong <[email protected]>

* add defer (OpenAtomFoundation#269)

add_defer

Co-authored-by: wuxianrong <[email protected]>

* cache index (OpenAtomFoundation#260)

* cache index

Co-authored-by: chejinge <[email protected]>
Co-authored-by: wuxianrong <[email protected]>

* Support for multiple databases   (OpenAtomFoundation#275)

* delete_pika_cache_manager

* Support for multiple databases

---------

Co-authored-by: wuxianrong <[email protected]>

* smart pointer and lock granularity && set don't update cache (OpenAtomFoundation#277)

Co-authored-by: chejinge <[email protected]>

* fix_lock (OpenAtomFoundation#278)

Co-authored-by: wuxianrong <[email protected]>

* fix_command_bug (OpenAtomFoundation#282)

* fix_command_bug

Co-authored-by: chejinge <[email protected]>

* Fix del mget (OpenAtomFoundation#291)

 fix_del_command&&HMSET HMGET

---------

Co-authored-by: chejinge <[email protected]>

* bugfix:ttl&&exits command (OpenAtomFoundation#300)

* fix_ttl_exits
---------

Co-authored-by: chejinge <[email protected]>

* fix: hash/list/set/zset test (OpenAtomFoundation#285)

* fix hash/list test

* fix set/zset test

---------

Co-authored-by: wuxianrong <[email protected]>

* fix bitpos strlen msetnx

* fix bitpos strlen msetnx

* Update pika_kv.cc

* Update pika_command.cc

* fix: hash/zset test cache (OpenAtomFoundation#302)

* fix hash/list test

Co-authored-by: wuxianrong <[email protected]>

* fix Master-slave test

* code format (OpenAtomFoundation#316)

Co-authored-by: wuxianrong <[email protected]>

* fix:cache code style

* fix:cache code style

* fix

* Supports multi-DB asynchronous data transfer   (OpenAtomFoundation#317)

* code format

* support dbs

---------

Co-authored-by: wuxianrong <[email protected]>

* fix conflict and change name

* fix conflict and change name

* fix conflict and change name

* Update pika_admin.cc

* Update pika_admin.cc

* Initialization variable   (OpenAtomFoundation#321)

add_comment

Co-authored-by: wuxianrong <[email protected]>

* fix_flushdb

* fix: Cache flushdb (OpenAtomFoundation#322)

fix_flushdb

Co-authored-by: wuxianrong <[email protected]>

* Fix cache mget (OpenAtomFoundation#323)

* fix_mget

* fix_lock_and_multi_caches

* fix_mem_leak

* fix_mem_leak

* fix

* add cacheclean command

* fix coreedump

* Fix:mem leak (OpenAtomFoundation#329)

fix:hdel

Co-authored-by: chejinge <[email protected]>

* Update pika_admin.cc

* Update pika.conf

* Update pika.conf

* fix_license

* remove nullpter

---------

Co-authored-by: chejinge <[email protected]>
Co-authored-by: Mixficsol <[email protected]>
Co-authored-by: wuxianrong <[email protected]>
Co-authored-by: Xin.Zh <[email protected]>
Co-authored-by: alexstocks <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants