Fix typo "the the" (#10399)
This commit is contained in:
parent
adc5a3217c
commit
24da71e507
.github/workflows
src
tests/unit
2
.github/workflows/codeql-analysis.yml
vendored
2
.github/workflows/codeql-analysis.yml
vendored
@ -4,7 +4,7 @@ on:
|
||||
push:
|
||||
pull_request:
|
||||
schedule:
|
||||
# run weekly new vulnerability was added to the the database
|
||||
# run weekly new vulnerability was added to the database
|
||||
- cron: '0 0 * * 0'
|
||||
|
||||
jobs:
|
||||
|
@ -299,7 +299,7 @@ static sds percentDecode(const char *pe, size_t len) {
|
||||
}
|
||||
|
||||
/* Parse a URI and extract the server connection information.
|
||||
* URI scheme is based on the the provisional specification[1] excluding support
|
||||
* URI scheme is based on the provisional specification[1] excluding support
|
||||
* for query parameters. Valid URIs are:
|
||||
* scheme: "redis://"
|
||||
* authority: [[<username> ":"] <password> "@"] [<hostname> [":" <port>]]
|
||||
|
@ -407,7 +407,7 @@ long activeDefragSdsListAndDict(list *l, dict *d, int dict_val_type) {
|
||||
* new pointer. Additionally, we try to defrag the dictEntry in that dict.
|
||||
* Oldkey mey be a dead pointer and should not be accessed (we get a
|
||||
* pre-calculated hash value). Newkey may be null if the key pointer wasn't
|
||||
* moved. Return value is the the dictEntry if found, or NULL if not found.
|
||||
* moved. Return value is the dictEntry if found, or NULL if not found.
|
||||
* NOTE: this is very ugly code, but it let's us avoid the complication of
|
||||
* doing a scan on another dict. */
|
||||
dictEntry* replaceSatelliteDictKeyPtrAndOrDefragDictEntry(dict *d, sds oldkey, sds newkey, uint64_t hash, long *defragged) {
|
||||
|
@ -10197,7 +10197,7 @@ static uint64_t moduleEventVersions[] = {
|
||||
* are now triggered when repl-diskless-load is set to swapdb.
|
||||
*
|
||||
* Called when repl-diskless-load config is set to swapdb,
|
||||
* And redis needs to backup the the current database for the
|
||||
* And redis needs to backup the current database for the
|
||||
* possibility to be restored later. A module with global data and
|
||||
* maybe with aux_load and aux_save callbacks may need to use this
|
||||
* notification to backup / restore / discard its globals.
|
||||
|
@ -1697,7 +1697,7 @@ struct redisServer {
|
||||
int rdb_pipe_numconns; /* target of diskless rdb fork child. */
|
||||
int rdb_pipe_numconns_writing; /* Number of rdb conns with pending writes. */
|
||||
char *rdb_pipe_buff; /* In diskless replication, this buffer holds data */
|
||||
int rdb_pipe_bufflen; /* that was read from the the rdb pipe. */
|
||||
int rdb_pipe_bufflen; /* that was read from the rdb pipe. */
|
||||
int rdb_key_save_delay; /* Delay in microseconds between keys while
|
||||
* writing the RDB. (for testings). negative
|
||||
* value means fractions of microseconds (on average). */
|
||||
|
@ -803,7 +803,7 @@ unsigned char *__ziplistCascadeUpdate(unsigned char *zl, unsigned char *p) {
|
||||
|
||||
/* Update tail offset after loop. */
|
||||
if (tail == zl + prevoffset) {
|
||||
/* When the the last entry we need to update is also the tail, update tail offset
|
||||
/* When the last entry we need to update is also the tail, update tail offset
|
||||
* unless this is the only entry that was updated (so the tail offset didn't change). */
|
||||
if (extra - delta != 0) {
|
||||
ZIPLIST_TAIL_OFFSET(zl) =
|
||||
|
@ -82,7 +82,7 @@ start_server {tags {"defrag external:skip"} overrides {appendonly yes auto-aof-r
|
||||
fail "defrag didn't stop."
|
||||
}
|
||||
|
||||
# Test the the fragmentation is lower.
|
||||
# Test the fragmentation is lower.
|
||||
after 120 ;# serverCron only updates the info once in 100ms
|
||||
set frag [s allocator_frag_ratio]
|
||||
set max_latency 0
|
||||
@ -226,7 +226,7 @@ start_server {tags {"defrag external:skip"} overrides {appendonly yes auto-aof-r
|
||||
fail "defrag didn't stop."
|
||||
}
|
||||
|
||||
# test the the fragmentation is lower
|
||||
# test the fragmentation is lower
|
||||
after 120 ;# serverCron only updates the info once in 100ms
|
||||
if {$::verbose} {
|
||||
puts "used [s allocator_allocated]"
|
||||
@ -336,7 +336,7 @@ start_server {tags {"defrag external:skip"} overrides {appendonly yes auto-aof-r
|
||||
fail "defrag didn't stop."
|
||||
}
|
||||
|
||||
# test the the fragmentation is lower
|
||||
# test the fragmentation is lower
|
||||
after 120 ;# serverCron only updates the info once in 100ms
|
||||
set frag [s allocator_frag_ratio]
|
||||
set max_latency 0
|
||||
@ -433,7 +433,7 @@ start_server {tags {"defrag external:skip"} overrides {appendonly yes auto-aof-r
|
||||
fail "defrag didn't stop."
|
||||
}
|
||||
|
||||
# test the the fragmentation is lower
|
||||
# test the fragmentation is lower
|
||||
after 120 ;# serverCron only updates the info once in 100ms
|
||||
set misses [s active_defrag_misses]
|
||||
set hits [s active_defrag_hits]
|
||||
@ -553,7 +553,7 @@ start_server {tags {"defrag external:skip"} overrides {appendonly yes auto-aof-r
|
||||
fail "defrag didn't stop."
|
||||
}
|
||||
|
||||
# test the the fragmentation is lower
|
||||
# test the fragmentation is lower
|
||||
after 120 ;# serverCron only updates the info once in 100ms
|
||||
set misses [s active_defrag_misses]
|
||||
set hits [s active_defrag_hits]
|
||||
|
Loading…
x
Reference in New Issue
Block a user