Skip to content

Commit 5c6aeab

Browse files
wellweekbig-r81
authored andcommitted
remove repetitive word
Signed-off-by: wellweek <[email protected]>
1 parent ab2cf16 commit 5c6aeab

10 files changed

+13
-13
lines changed

src/couch/src/couch_proc_manager.erl

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ handle_info(shutdown, State) ->
235235
{stop, shutdown, State};
236236
handle_info({'EXIT', Pid, {spawn_ok, Proc0, undefined = _From}}, State) ->
237237
% Use ets:take/2 to assert that opener existed before removing. Also assert that
238-
% the pid matches and the the client was a bogus client
238+
% the pid matches and the client was a bogus client
239239
[{Pid, #client{from = undefined}}] = ets:take(?OPENING, Pid),
240240
Proc = Proc0#proc{client = undefined},
241241
link(Proc#proc.pid),

src/couch/src/couch_users_db.erl

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ validate_password(ClearPassword) ->
186186
ok
187187
end.
188188

189-
% Get the RegExp out of the tuple and combine the the error message.
189+
% Get the RegExp out of the tuple and combine the error message.
190190
% First is with a Reason string.
191191
get_password_regexp_and_error_msg({RegExp, Reason}) when
192192
is_list(RegExp) andalso is_list(Reason) andalso

src/docs/rfcs/008-map-indexes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ If we have a design document like the following:
154154
}
155155
```
156156

157-
Each emit would be a new key/value row in the map index. Each key row cannot exceed 8KB and and each value row cannot exceed 64KB.
157+
Each emit would be a new key/value row in the map index. Each key row cannot exceed 8KB and each value row cannot exceed 64KB.
158158
If a document is emitted as a value, that document is not allowed to exceeed 64KB.
159159

160160
### Key ordering

src/docs/src/config/http.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ Virtual Hosts
689689
couchdb.local:5984 = /example
690690
*.couchdb.local:5984 = /example
691691

692-
If your CouchDB is listening on the the default HTTP port (80), or is
692+
If your CouchDB is listening on the default HTTP port (80), or is
693693
sitting behind a proxy, then you don't need to specify a port number in the
694694
``vhost`` key.
695695

src/docs/src/ddocs/views/intro.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ documents as we walk through how views work:
5555
"_rev":"4A3BBEE711",
5656
5757
"title":"Bought a Cat",
58-
"body":"I went to the the pet store earlier and brought home a little kitty...",
58+
"body":"I went to the pet store earlier and brought home a little kitty...",
5959
"date":"2009/02/17 21:13:39"
6060
}
6161

src/docs/src/ddocs/views/joins.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ now have the data we need to display a post with all associated comments,
417417
retrieved via a single ``GET`` request.
418418

419419
You may be asking what the 0 and 1 parts of the keys are for. They're simply
420-
to ensure that the post document is always sorted before the the associated
420+
to ensure that the post document is always sorted before the associated
421421
comment documents. So when you get back the results from this view for a
422422
specific post, you'll know that the first row contains the data for the blog
423423
post itself, and the remaining rows contain the comment data.

src/mango/src/mango_idx_view.erl

+1-1
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ range(_, _, LCmp, Low, HCmp, High) ->
400400
% check on Arg by setting LCmp == HCmp = '$eq' and Low == High == Arg.
401401
%
402402
% If 1 < N < 5 (mid), then we set High to Arg and Arg has just
403-
% narrowed our range. HCmp is set the the '$lt' operator that was
403+
% narrowed our range. HCmp is set the '$lt' operator that was
404404
% part of the input.
405405
%
406406
% If N == 5 (high), We just set HCmp to '$lt' since its guaranteed

src/mem3/test/eunit/mem3_reshard_api_test.erl

+4-4
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ individual_job_start_stop({Top, {Db1, _, _}}) ->
391391
JobUrl = Top ++ ?JOBS ++ ?b2l(Id),
392392
StUrl = JobUrl ++ "/state",
393393

394-
% Wait for the the job to start running and intercept it in topoff1 state
394+
% Wait for the job to start running and intercept it in topoff1 state
395395
receive
396396
{JobPid, topoff1} -> ok
397397
end,
@@ -410,7 +410,7 @@ individual_job_start_stop({Top, {Db1, _, _}}) ->
410410

411411
% Start the job again
412412
?assertMatch({200, _}, req(put, StUrl, #{state => running})),
413-
% Wait for the the job to start running and intercept it in topoff1 state
413+
% Wait for the job to start running and intercept it in topoff1 state
414414
receive
415415
{JobPid2, topoff1} -> ok
416416
end,
@@ -460,7 +460,7 @@ individual_job_stop_when_cluster_stopped({Top, {Db1, _, _}}) ->
460460
JobUrl = Top ++ ?JOBS ++ ?b2l(Id),
461461
StUrl = JobUrl ++ "/state",
462462

463-
% Wait for the the job to start running and intercept in topoff1
463+
% Wait for the job to start running and intercept in topoff1
464464
receive
465465
{JobPid, topoff1} -> ok
466466
end,
@@ -487,7 +487,7 @@ individual_job_stop_when_cluster_stopped({Top, {Db1, _, _}}) ->
487487
% It should be possible to resume job and it should complete
488488
?assertMatch({200, _}, req(put, StUrl, #{state => running})),
489489

490-
% Wait for the the job to start running and intercept in topoff1 state
490+
% Wait for the job to start running and intercept in topoff1 state
491491
receive
492492
{JobPid2, topoff1} -> ok
493493
end,

src/mem3/test/eunit/mem3_reshard_changes_feed_test.erl

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ continuous_feed_should_work_during_split(#{db1 := Db}) ->
219219
% Add 5 extra docs to the db right after changes feed was stopped
220220
[UpdaterPid ! add || _ <- lists:seq(1, 5)],
221221

222-
% The the number of documents that updater had added
222+
% The number of documents that updater had added
223223
Ref = make_ref(),
224224
UpdaterPid ! {get_state, {self(), Ref}},
225225
DocCount =

src/setup/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ b. as in a, but without the Fauxton bits, just POST to /_cluster_setup
104104
- this request will do this:
105105
- on the “setup coordination node”:
106106
- check if we have an Erlang Cookie Secret. If not, generate
107-
a UUID and set the erlang cookie to to that UUID.
107+
a UUID and set the erlang cookie to that UUID.
108108
- store the cookie in config.ini, re-set_cookie() on startup.
109109
- make a POST request to the node specified in the body above
110110
using the admin credentials in the body above:

0 commit comments

Comments
 (0)