History log of /4.5.1-MP3/ns_server/scripts/ (Results 1 - 25 of 123)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: 6.0.3, 5.5.5, 5.5.4, 6.0.1, 5.5.3, 6.0.0, 5.5.2, 5.1.2, 5.5.1, 5.5.0, 4.6.5, 5.1.0, 5.0.1, 4.6.4, 5.0.0, 4.6.3, 4.6.2, 4.6.0, 4.1.2, 4.5.1, 3.1.6
9c0ca9ad31-May-2016 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

Merge remote-tracking branch 'couchbase/sherlock'

* couchbase/sherlock:
[rebuild_replicas] Sync ns_config before rebalance/bucket update.
[rebuild_replicas] Sleep for 10 seconds

Merge remote-tracking branch 'couchbase/sherlock'

* couchbase/sherlock:
[rebuild_replicas] Sync ns_config before rebalance/bucket update.
[rebuild_replicas] Sleep for 10 seconds after the rebalances.
MB-19319 Dump cbcollect_info output if collection fails.
MB-19319 Reimplement stdin watcher using low-level IO.
MB-19706 Shutdown replica builders at the end of TAP moves.

Change-Id: I6a304bc4ac1ce3db3af8fe7d40583cdd1c293aab

show more ...


4f75617531-May-2016 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

Merge remote-tracking branch 'couchbase/rel-3.0.0++' into sherlock

* couchbase/rel-3.0.0++:
[rebuild_replicas] Sync ns_config before rebalance/bucket update.
[rebuild_replicas] S

Merge remote-tracking branch 'couchbase/rel-3.0.0++' into sherlock

* couchbase/rel-3.0.0++:
[rebuild_replicas] Sync ns_config before rebalance/bucket update.
[rebuild_replicas] Sleep for 10 seconds after the rebalances.
MB-19319 Dump cbcollect_info output if collection fails.
MB-19319 Reimplement stdin watcher using low-level IO.
MB-19706 Shutdown replica builders at the end of TAP moves.

Change-Id: I9a9d528ea6331097bb5965cc8bcfa5c92c30936a

show more ...


3ea4b16727-May-2016 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

[rebuild_replicas] Sync ns_config before rebalance/bucket update.

That minimizes the chances of conflicts even if mastership moves to a
different node.

Another source of config

[rebuild_replicas] Sync ns_config before rebalance/bucket update.

That minimizes the chances of conflicts even if mastership moves to a
different node.

Another source of config conflicts is the fact, that repl_type is
updated on the node executing the script, not the master. So this is
also addressed.

Change-Id: I696daf59c60e21934c385e9d7251ef9b7f3f888c
Reviewed-on: http://review.couchbase.org/64546
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

show more ...

9562898427-May-2016 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

[rebuild_replicas] Sleep for 10 seconds after the rebalances.

This is to prevent mb_master from restarting if the server doesn't have
this fix:: http://review.couchbase.org/64083.

[rebuild_replicas] Sleep for 10 seconds after the rebalances.

This is to prevent mb_master from restarting if the server doesn't have
this fix:: http://review.couchbase.org/64083.

mb_master_sup's restart policy is {one_for_one, 3, 10}, so just sleeping
for 10 seconds after two ns_orchestrator crashes should prevent
mb_master_sup from propagating the crash up to mb_master itself.

Change-Id: I5649cc2d168a9796c3a4f8e30f7d34e466a22342
Reviewed-on: http://review.couchbase.org/64545
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

show more ...

efd185af24-May-2016 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

Add a script to convert timestamps to human readable datetimes.

Change-Id: I251299132e6ac07ba30744be36b795bfa991eb2d
Reviewed-on: http://review.couchbase.org/64356
Tested-by: Aliakse

Add a script to convert timestamps to human readable datetimes.

Change-Id: I251299132e6ac07ba30744be36b795bfa991eb2d
Reviewed-on: http://review.couchbase.org/64356
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>

show more ...

80f3f7bb24-May-2016 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

Add a script to extract cpu stats from stats archives.

Change-Id: Ic6d815d8baa3e94525beb9851265a2dee3510429
Reviewed-on: http://review.couchbase.org/64355
Tested-by: Aliaksey Artamon

Add a script to extract cpu stats from stats archives.

Change-Id: Ic6d815d8baa3e94525beb9851265a2dee3510429
Reviewed-on: http://review.couchbase.org/64355
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>

show more ...

7dd52f3223-May-2016 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

Couple of jq scripts to work with master_events.

The only useful one for now is the one that detects unfinished
moves. There's more coming some day.

Example:

./read mas

Couple of jq scripts to work with master_events.

The only useful one for now is the one that detects unfinished
moves. There's more coming some day.

Example:

./read master_events.log | ./last-rebalance | ./inflight-moves

Change-Id: Ia948c195daec1ea2d838ef95e59dfc82e250e623
Reviewed-on: http://review.couchbase.org/64354
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>

show more ...

Revision tags: 4.5.0
301d970718-May-2016 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

Merge remote-tracking branch 'couchbase/sherlock'

* couchbase/sherlock:
Add rebuild_replicas.sh script.
Skip dcp upgrade for move_vbuckets rebalance.
Initialize {keep,eject

Merge remote-tracking branch 'couchbase/sherlock'

* couchbase/sherlock:
Add rebuild_replicas.sh script.
Skip dcp upgrade for move_vbuckets rebalance.
Initialize {keep,eject,failed}_nodes in move_vbuckets backdoor.

Conflicts:
src/ns_orchestrator.erl

Change-Id: I10af69b0016ff1f8e4098d3c0c01e5ea4fdb7f6d

show more ...


b6de89bd18-May-2016 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

Merge remote-tracking branch 'couchbase/rel-3.0.0++' into sherlock

* couchbase/rel-3.0.0++:
Add rebuild_replicas.sh script.
Skip dcp upgrade for move_vbuckets rebalance.
In

Merge remote-tracking branch 'couchbase/rel-3.0.0++' into sherlock

* couchbase/rel-3.0.0++:
Add rebuild_replicas.sh script.
Skip dcp upgrade for move_vbuckets rebalance.
Initialize {keep,eject,failed}_nodes in move_vbuckets backdoor.

Change-Id: I4eee16ae143fec34c3139a61fcf4a06ecbe70d0e

show more ...


8e2160b416-May-2016 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

Add rebuild_replicas.sh script.

It drops all replicas for a particular vbucket and then recreates them
from active copy. If vbucket was replicated using tap, then it will also
update

Add rebuild_replicas.sh script.

It drops all replicas for a particular vbucket and then recreates them
from active copy. If vbucket was replicated using tap, then it will also
update the replication to dcp.

Use as follows:

./rebuild_replicas.sh <username> <password> <host:rest port> <bucket> <vbucket>

Change-Id: I79cef80b48c46c07f8d43d7bfe4a58728467a979
Reviewed-on: http://review.couchbase.org/64085
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>

show more ...

3a85a2e404-May-2016 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

Revert "MB-18866 - Capturing view timing stats in cbcollect_info"

Reverting since it broke cbcollect_info.

This reverts commit 02e1095473aa8ff6ea9d5b6b97da982ceef483ae.

Cha

Revert "MB-18866 - Capturing view timing stats in cbcollect_info"

Reverting since it broke cbcollect_info.

This reverts commit 02e1095473aa8ff6ea9d5b6b97da982ceef483ae.

Change-Id: I2dc7c3642f2540bde3036820c4c1e6bed93e2231
Reviewed-on: http://review.couchbase.org/63730
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

show more ...

02e1095407-Apr-2016 Abhishek Singh <abhishek@couchbase.com>

MB-18866 - Capturing view timing stats in cbcollect_info

Change-Id: I76dee40a777a37c771609697378893e0ed8c8e03
Reviewed-on: http://review.couchbase.org/62532
Tested-by: Abhishek Singh

MB-18866 - Capturing view timing stats in cbcollect_info

Change-Id: I76dee40a777a37c771609697378893e0ed8c8e03
Reviewed-on: http://review.couchbase.org/62532
Tested-by: Abhishek Singh <abhishek@couchbase.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

show more ...

dd7efc7316-Mar-2016 dave-finlay <dave.finlay@couchbase.com>

MB-18289: Don't aggressively load all angular templates

In testing I observed (as have others) that aggressively downloading
all (or most) of our templates negatively affects initial UI

MB-18289: Don't aggressively load all angular templates

In testing I observed (as have others) that aggressively downloading
all (or most) of our templates negatively affects initial UI
performance. It takes a bit longer to render the UI since there are approx
100 template files being downloaded and the first couple of screens (the login
and the overview page) just new a handful of templates.

I experimented adding all the templates to the index.min.html file
directly, but this makes the initial download sluggish since you're
still downloading more than you need. So I settled on just downloading
no templates eagerly and rather having them be fetched as one walks around
the UI.

Change-Id: I8b592d77e0a3512383de68a958f24f16f1882929
Reviewed-on: http://review.couchbase.org/61550
Tested-by: Dave Finlay <dave.finlay@couchbase.com>
Reviewed-by: Pavel Blagodov <stochmail@gmail.com>

show more ...

Revision tags: 4.1.1
7a4582e008-Mar-2016 Prathibha <prathibha.bisarahalli@gmail.com>

MB-16907 - Add go routine dump from GSI indexer to cbcollectinfo

Added following to cbcollectinfo
- indexer and projector go routine dump
- indexer settings
- indexer storage and

MB-16907 - Add go routine dump from GSI indexer to cbcollectinfo

Added following to cbcollectinfo
- indexer and projector go routine dump
- indexer settings
- indexer storage and moi allocator stats

Change-Id: Ic6b9df8aa960db3028d08346d52c996e0ab853cb
Reviewed-on: http://review.couchbase.org/61081
Tested-by: Prathibha Bisarahalli <prathibha.bisarahalli@gmail.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

show more ...

Revision tags: 3.1.5
42467e5623-Feb-2016 Steve Yen <steve.yen@gmail.com>

MB-18065 - FTS port changed to 8094

Change-Id: I2db88c9dd5ae41bd56e7c3bf9c8f73d18f0cd55d
Reviewed-on: http://review.couchbase.org/60383
Reviewed-by: Aliaksey Artamonau <aliaksiej.art

MB-18065 - FTS port changed to 8094

Change-Id: I2db88c9dd5ae41bd56e7c3bf9c8f73d18f0cd55d
Reviewed-on: http://review.couchbase.org/60383
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Tested-by: Steve Yen <steve.yen@gmail.com>

show more ...

7476b5cc12-Feb-2016 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

Prepare ns_orchestrator for non-bucket janitoring.

Change-Id: Ib03bfff338984fac7682569f6435ad939ddd461a
Reviewed-on: http://review.couchbase.org/60148
Tested-by: Aliaksey Artamonau <

Prepare ns_orchestrator for non-bucket janitoring.

Change-Id: Ib03bfff338984fac7682569f6435ad939ddd461a
Reviewed-on: http://review.couchbase.org/60148
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>

show more ...

Revision tags: 3.1.4
28d5216f20-Jan-2016 Steve Yen <steve.yen@gmail.com>

MB-16797 - cbcollect-info grabs FTS /api/diag

Change-Id: Ifd9e280e5021001994417a94a6b0ccbed9f91f33
Reviewed-on: http://review.couchbase.org/58849
Reviewed-by: Aliaksey Artamonau <ali

MB-16797 - cbcollect-info grabs FTS /api/diag

Change-Id: Ifd9e280e5021001994417a94a6b0ccbed9f91f33
Reviewed-on: http://review.couchbase.org/58849
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Tested-by: Steve Yen <steve.yen@gmail.com>

show more ...

f5b666f916-Dec-2015 Anders Nygren <anders.nygren@couchbase.com>

MB-12263: cbcollect_info use dedicated_port to connect to memcached

This way it should still be possible to collect logs even if there are
too many open connections on the normal port (1

MB-12263: cbcollect_info use dedicated_port to connect to memcached

This way it should still be possible to collect logs even if there are
too many open connections on the normal port (11210).

Change-Id: I16530c2c0b46a26269d6a01fe901a0e2b1db53f2
Reviewed-on: http://review.couchbase.org/57823
Well-Formed: buildbot <build@couchbase.com>
Tested-by: Anders Nygren <anders.nygren@couchbase.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

show more ...

Revision tags: 4.1.0, 3.1.3, 3.1.2
8bca1b6626-Oct-2015 Pavel Blagodov <stochmail@gmail.com>

make angular default UI

Change-Id: I96278adbf3bac0618ad15efaee2024e41ec456df
Reviewed-on: http://review.couchbase.org/56562
Reviewed-by: Dave Finlay <dave.finlay@couchbase.com>
T

make angular default UI

Change-Id: I96278adbf3bac0618ad15efaee2024e41ec456df
Reviewed-on: http://review.couchbase.org/56562
Reviewed-by: Dave Finlay <dave.finlay@couchbase.com>
Tested-by: Dave Finlay <dave.finlay@couchbase.com>

show more ...

bed2dd4e02-Nov-2015 Dave Finlay <dave.finlay@couchbase.com>

Merge remote-tracking branch 'gerrit/sherlock' into HEAD

Change-Id: I3e1c7a74e5fff549c4bf697cfe64ed8bf958a144


a9c78eb228-Oct-2015 Dave Finlay <dave.finlay@couchbase.com>

MB-16655: add indexer_http_port to dump-guts

This will allow folks writing in cbcollect get the index http port
as follows:
index_port = read_guts(guts, "indexer_http_port")

MB-16655: add indexer_http_port to dump-guts

This will allow folks writing in cbcollect get the index http port
as follows:
index_port = read_guts(guts, "indexer_http_port")

Change-Id: I6cd0e3ea670934b153f100a044ac36df0dba4709
Reviewed-on: http://review.couchbase.org/56508
Reviewed-by: Anders Nygren <anders.nygren@couchbase.com>
Tested-by: Dave Finlay <dave.finlay@couchbase.com>

show more ...

cf2dc53903-Oct-2015 Artem Stemkovski <astemkov@gmail.com>

Merge remote-tracking branch 'couchbase/sherlock'

* couchbase/sherlock:
Exclude header from master_events.log
MB-16126 Collect stats archives to stats_archives.json
General

Merge remote-tracking branch 'couchbase/sherlock'

* couchbase/sherlock:
Exclude header from master_events.log
MB-16126 Collect stats archives to stats_archives.json
Generalize find_dump_guts to find_script.
Little helper function to add .exe to executables when needed.
Reorder PATH directories.
Add a script that dumps stats archives in json format.
Add a escript-wrapper script.
Include code path into initargs.
Avoid converting app environment terms to strings.
Extract functions that build initargs.

Change-Id: Iee869ae0c77d910573910a25a40c0391be2fce7b

show more ...


51b466dc30-Sep-2015 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

MB-16126 Collect stats archives to stats_archives.json

Change-Id: I9f87806dfe4f281db6f969dbcdd734255eeb5532
Reviewed-on: http://review.couchbase.org/55631
Reviewed-by: Artem Stemkovs

MB-16126 Collect stats archives to stats_archives.json

Change-Id: I9f87806dfe4f281db6f969dbcdd734255eeb5532
Reviewed-on: http://review.couchbase.org/55631
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

show more ...

1fb16bb330-Sep-2015 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

Add a script that dumps stats archives in json format.

Change-Id: I6707b26a6d9d91f05c54dc7539227f4b8025db8d
Reviewed-on: http://review.couchbase.org/55627
Tested-by: Aliaksey Artamon

Add a script that dumps stats archives in json format.

Change-Id: I6707b26a6d9d91f05c54dc7539227f4b8025db8d
Reviewed-on: http://review.couchbase.org/55627
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>

show more ...

4605ab9529-Sep-2015 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

Add a escript-wrapper script.

Its purpose is to execute erlang scripts like escript does. But before
doing so, it reads the initargs file to get server code paths and
passes them to

Add a escript-wrapper script.

Its purpose is to execute erlang scripts like escript does. But before
doing so, it reads the initargs file to get server code paths and
passes them to actual escript invocation. That allows reusing server
code in the scripts.

Change-Id: I8dabb1fc4856ca7db31cba53a0b06dd2ea3324ad
Reviewed-on: http://review.couchbase.org/55626
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>

show more ...

12345