summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Modules shared API: export new core APIs.sharedapiantirez2018-12-202-0/+6
|
* Modules shared API: also unregister the module as user.antirez2018-12-201-0/+23
|
* Modules shared API: prevent unloading of used modules.antirez2018-12-201-4/+10
|
* Modules shared API: unregister APIs function.antirez2018-12-201-0/+25
|
* Modules shared API: initial core functions.antirez2018-12-202-1/+89
| | | | Based on ideas and code in PR #5560 by @MeirShpilraien.
* Revert shared APIs to modify the design.antirez2018-12-203-120/+0
|
* added module ability to register api to be used by other modulesMeirShpilraien2018-12-203-0/+120
|
* Remove debugging printf from replication.tcl test.antirez2018-12-121-1/+0
|
* freeMemoryIfNeeded() small refactoring.antirez2018-12-124-10/+16
| | | | Related to issue #5686 and PR #5689.
* Merge pull request #5689 from soloestoy/donot-evict-when-AOF-loadingSalvatore Sanfilippo2018-12-121-3/+9
|\ | | | | evict: don't care about mem if loading
| * evict: don't care about mem if loadingzhaozhao.zz2018-12-121-3/+9
| | | | | | | | | | | | | | | | When loading data, we call processEventsWhileBlocked to process events and execute commands. But if we are loading AOF it's dangerous, because processCommand would call freeMemoryIfNeeded to evict, and that will break data consistency, see issue #5686.
* | Crashing is too much in addReplyErrorLength().antirez2018-12-111-6/+0
|/ | | | See #5663.
* Merge branch 'unstable' of github.com:/antirez/redis into unstableantirez2018-12-112-2/+2
|\
| * Merge pull request #5665 from louiszhw/unstableSalvatore Sanfilippo2018-12-111-1/+1
| |\ | | | | | | fix comments fault discription
| | * fix comments fault discriptionhdmg2018-12-051-1/+1
| | |
| * | Merge pull request #4264 from lsytj0413/unstableSalvatore Sanfilippo2018-12-111-1/+1
| |\ \ | | | | | | | | fix a typo: craeted -> created
| | * | fix a typo: craeted -> createdlsytj04132018-12-061-1/+1
| | |/
* | | stringmatchlen() fuzz test added.antirez2018-12-113-0/+22
| | | | | | | | | | | | | | | Verified to be able to trigger at least #5632. Does not report other issues.
* | | Fix stringmatchlen() read past buffer bug.antirez2018-12-111-1/+1
|/ / | | | | | | See #5632.
* | Merge pull request #5684 from soloestoy/ignore-multi-cmd-flags-loading-aofSalvatore Sanfilippo2018-12-111-2/+2
|\ \ | | | | | | multi: ignore multiState's cmd_flags when loading AOF
| * | fix typozhaozhao.zz2018-12-111-1/+1
| | |
| * | multi: ignore multiState's cmd_flags when loading AOFzhaozhao.zz2018-12-111-1/+1
|/ /
* | Reject EXEC containing write commands against RO replica.antirez2018-12-112-0/+20
| | | | | | | | | | | | | | Thanks to @soloestoy for discovering this issue in #5667. This is an alternative fix in order to avoid both cycling the clients and also disconnecting clients just having valid read-only transactions pending.
* | Merge pull request #5681 from artix75/cluster_manager_fix_cmdSalvatore Sanfilippo2018-12-111-111/+318
|\ \ | | | | | | Cluster manager fix cmd
| * | Cluster Manager:artix2018-12-101-5/+14
| | | | | | | | | | | | | | | | | | - Multiple owners checking in 'fix'/'check' commands is now optional (using --cluster-search-multiple-owners). - Updated help.
| * | Cluster Manager:artix2018-12-101-5/+17
| | | | | | | | | | | | | | | - FixOpenSlot now correctly updates in-memory cluster configuration. - Improved output messages.
| * | Cluster Manager: 'fix' command now handles open slots with migrating stateartix2018-12-101-6/+74
| | | | | | | | | | | | in one node and importing state in multiple nodes.
| * | Cluster Manager: setting new slot owner is now handled atomicallyartix2018-12-101-31/+72
| | | | | | | | | | | | in 'fix' command.
| * | Cluster Manager: code cleanup.artix2018-12-101-87/+41
| | |
| * | Cluster Manager: check/fix commands now handle multiple owners even ifartix2018-12-101-6/+129
|/ / | | | | | | all slots are covered and not open.
* | Merge pull request #5626 from soloestoy/remove-useless-codeSalvatore Sanfilippo2018-12-071-1/+0
|\ \ | | | | | | remove useless tryObjectEncoding in debug assert
| * | remove useless tryObjectEncoding in debug assertzhaozhao.zz2018-11-301-1/+0
| | |
* | | Merge pull request #5633 from oranagra/frag_bytes_signedSalvatore Sanfilippo2018-12-072-6/+6
|\ \ \ | | | | | | | | fix #5580, display fragmentation and rss overhead bytes as signed
| * | | fix #5580, display fragmentation and rss overhead bytes as signedOran Agra2018-12-022-6/+6
| |/ / | | | | | | | | | | | | | | | these metrics become negative when RSS is smaller than the used_memory. This can easily happen when the program allocated a lot of memory and haven't written to it yet, in which case the kernel doesn't allocate any pages to the process
* | | Merge branch 'unstable' of github.com:/antirez/redis into unstableantirez2018-12-071-1/+1
|\ \ \
| * \ \ Merge pull request #5673 from soloestoy/check-current-client-after-freememorySalvatore Sanfilippo2018-12-071-1/+1
| |\ \ \ | | | | | | | | | | networking: current_client should not be NULL when trim qb_pos
| | * | | networking: current_client should not be NULL when trim qb_poszhaozhao.zz2018-12-071-1/+1
| | | |/ | | |/|
* | | | Remove no longer relevant comment in processCommand().antirez2018-12-071-6/+2
|/ / /
* | | DEBUG DIGEST-VALUE implemented.antirez2018-12-071-3/+17
| | |
* | | DEBUG DIGEST refactoring: extract function to digest a value.antirez2018-12-071-131/+142
| | |
* | | Merge pull request #5271 from funny-falcon/cli-migrate-replaceSalvatore Sanfilippo2018-12-071-5/+6
|\ \ \ | | | | | | | | redis-cli reshard/rebalance: ability to force replacement on existing keys
| * | | redis-cli reshard/rebalance: ability to force replacement on existing keysyura2018-12-071-5/+6
|/ / /
* | | Merge pull request #5460 from krallin/env-passwordSalvatore Sanfilippo2018-12-071-0/+14
|\ \ \ | | | | | | | | cli: pass auth through REDISCLI_AUTH
| * | | cli: pass auth through REDISCLI_AUTHThomas Orozco2018-10-191-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for passing a password through a REDISCLI_AUTH environment variable (which is safer than the CLI), which might often be safer than passing it through a CLI argument. Passing a password this way does not trigger the warning about passing a password through CLI arguments, and CLI arguments take precedence over it.
* | | | Merge pull request #5664 from yongman/fix-rediscli-output-formatSalvatore Sanfilippo2018-12-071-1/+1
|\ \ \ \ | |_|/ / |/| | | Fix cluster call reply format readable
| * | | Fix cluster call reply format readableyongman2018-12-041-1/+1
| | |/ | |/|
* | | Merge pull request #5663 from madolson/dev_monitor_crashSalvatore Sanfilippo2018-12-041-1/+1
|\ \ \ | |/ / |/| | Fixed a serverPanic when sending an invalid command to a monitor client
| * | Fixed a serverPanic when sending an invalid command to a monitor clientMadelyn Olson2018-12-041-1/+1
|/ /
* | Merge pull request #5549 from oranagra/fix_test_racesSalvatore Sanfilippo2018-11-283-0/+11
|\ \ | | | | | | fix small test suite race conditions
| * | fix small test suite race conditionsOran Agra2018-11-123-0/+11
| | |