History log of /6.0.3/ns_server/src/json_rpc_connection.erl (Results 1 - 18 of 18)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
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
# dcc89299 19-Feb-2018 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

Use ?get_timeout and ?get_param macros.

This makes the code shorter and gives the timeouts/parameters uniform
names.

This does change existing parameter names in many places. Al

Use ?get_timeout and ?get_param macros.

This makes the code shorter and gives the timeouts/parameters uniform
names.

This does change existing parameter names in many places. All of these
parameters are internal, so I'm in no way concerned about any sort of
backward compatibility.

If at any point a module gets renamed, corresponding
parameters/timeouts get affected too. For similar reasons, I don't
consider this a concern.

Change-Id: Ia938d628e1c4cd7dea2df93477ab1031ddefe55f
Reviewed-on: http://review.couchbase.org/89727
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
Tested-by: Artem Stemkovski <artem@couchbase.com>

show more ...


# c4dfe100 22-Feb-2018 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

[copyright] Bulk update copyright headers.

Change-Id: I9328252fbbb52d104b334fd6838f4cb9e8fa1e63
Reviewed-on: http://review.couchbase.org/89867
Reviewed-by: Aliaksey Artamonau <aliaks

[copyright] Bulk update copyright headers.

Change-Id: I9328252fbbb52d104b334fd6838f4cb9e8fa1e63
Reviewed-on: http://review.couchbase.org/89867
Reviewed-by: Aliaksey Artamonau <aliaksey.artamonau@couchbase.com>
Tested-by: Aliaksey Artamonau <aliaksey.artamonau@couchbase.com>

show more ...


Revision tags: 5.1.0
# cba22b9b 02-Feb-2018 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

[copyright] Bulk update copyright headers.

Change-Id: If14cc8b547ada138e5b44d05be7b946cd363a7e5
Reviewed-on: http://review.couchbase.org/88778
Reviewed-by: Aliaksey Artamonau <aliaks

[copyright] Bulk update copyright headers.

Change-Id: If14cc8b547ada138e5b44d05be7b946cd363a7e5
Reviewed-on: http://review.couchbase.org/88778
Reviewed-by: Aliaksey Artamonau <aliaksey.artamonau@couchbase.com>
Tested-by: Aliaksey Artamonau <aliaksey.artamonau@couchbase.com>

show more ...


Revision tags: 5.0.1, 4.6.4, 5.0.0, 4.6.3, 4.6.2
# 4079d1c5 21-Mar-2017 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

Use init_ack correctly with gen_server.

When init_ack is used, proper way to initialize the gen_server is to
call gen_server:enter_loop/3. Otherwise supervisor complains about
unexpe

Use init_ack correctly with gen_server.

When init_ack is used, proper way to initialize the gen_server is to
call gen_server:enter_loop/3. Otherwise supervisor complains about
unexpected messages:

"Supervisor received unexpected message: {ack,<0.42.0>,{ok,<0.42.0>}}"

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

show more ...


# 6e7ac7d0 08-Feb-2017 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

Log json rpc communication to a separate file.

With topology aware services we perform some of the calls
periodically. So these messages can easily pollute main log file.

Change

Log json rpc communication to a separate file.

With topology aware services we perform some of the calls
periodically. So these messages can easily pollute main log file.

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

show more ...


Revision tags: 4.6.0, 4.1.2, 4.5.1, 3.1.6, 4.5.0, 4.1.1, 3.1.5, 3.1.4
# 79a323dc 21-Jan-2016 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

Rebalance for topology aware services.

There are still some missing pieces. For example, not all information
that is returned by the service is used. And more importantly, currently

Rebalance for topology aware services.

There are still some missing pieces. For example, not all information
that is returned by the service is used. And more importantly, currently
it's possible to add a node with a topology aware service even when
cluster is not fully 4.5. I plan to address it in subsequent commits.

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

show more ...


# 79bce1d7 20-Jan-2016 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

Supervisor for revrpc connections.

Previously all of the handlers were started unsupervised, and that was
ugly, especially the reannounce function that had to traverse all the
regist

Supervisor for revrpc connections.

Previously all of the handlers were started unsupervised, and that was
ugly, especially the reannounce function that had to traverse all the
registered processes.

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

show more ...


# bb613c41 20-Jan-2016 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

Change the way socket is passed to json_rpc_connection.

Change-Id: I8ae9bab10db8bf15d32f5629448f64c728341c94
Reviewed-on: http://review.couchbase.org/58861
Tested-by: Aliaksey Artamo

Change the way socket is passed to json_rpc_connection.

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

show more ...


# d00804e4 20-Jan-2016 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

Remove unused function.

Change-Id: Ib6632a75bba110a5a1cdf7352be6aced2aa6784f
Reviewed-on: http://review.couchbase.org/58860
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.c

Remove unused function.

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

show more ...


# fcaf4f80 17-Dec-2015 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

Keep revrpc connection label as a list.

Change-Id: I4934e5ccf5030a88d0b445bed78a0c33b0efdb09
Reviewed-on: http://review.couchbase.org/58858
Tested-by: Aliaksey Artamonau <aliaksiej.a

Keep revrpc connection label as a list.

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

show more ...


# 10bd4ceb 17-Dec-2015 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

Improve a log message about revrpc connections.

Change-Id: I854a662076d2197b6c06661f1ab16790848f6fd9
Reviewed-on: http://review.couchbase.org/58857
Tested-by: Aliaksey Artamonau <ali

Improve a log message about revrpc connections.

Change-Id: I854a662076d2197b6c06661f1ab16790848f6fd9
Reviewed-on: http://review.couchbase.org/58857
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Poonam D <poonam@couchbase.com>

show more ...


Revision tags: 4.1.0, 3.1.3, 3.1.2, 3.1.1, 4.0.0, 3.1.0
# 17ec0806 26-Jun-2015 Artem Stemkovski <astemkov@gmail.com>

process errors in json_rpc_connection in one place

Change-Id: I28178e832e6eb6b7508bce0b6cbe0e11d5fce106
Reviewed-on: http://review.couchbase.org/52574
Tested-by: Artem Stemkovski <ar

process errors in json_rpc_connection in one place

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

show more ...


# c1cd029d 25-Jun-2015 Artem Stemkovski <astemkov@gmail.com>

handle rpc errors inside of json_rpc_connection

- propagate all errors emitted by handler to the caller
- propagate method_not_found errors to the caller
- stop json_rpc_connection o

handle rpc errors inside of json_rpc_connection

- propagate all errors emitted by handler to the caller
- propagate method_not_found errors to the caller
- stop json_rpc_connection on unrecognized rpc error

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

show more ...


# 70ea28fb 04-May-2015 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

Wrap json rpc calls into function.

Since they might contain sensitive information and we don't want them
to be logged.

Change-Id: I4173e2bc5f8bff7bd09895b5444aaf786a15d3cb
R

Wrap json rpc calls into function.

Since they might contain sensitive information and we don't want them
to be logged.

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

show more ...


# 7ac2c562 10-Mar-2015 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

MB-13531 Sanitize json rpc log message.

Change-Id: I1eb7312fbabc68a0f83cee807508f495c3122a01
Reviewed-on: http://review.couchbase.org/48029
Tested-by: Aliaksey Artamonau <aliaksiej.a

MB-13531 Sanitize json rpc log message.

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

show more ...


Revision tags: 3.0.3
# 08ff2c0b 19-Dec-2014 Artem Stemkovski <astemkov@gmail.com>

introduce json_rpc_events for announcing json rpc processes starts

Change-Id: I47ca8ff406bb011c3442fd35f7cfd395ec04a875
Reviewed-on: http://review.couchbase.org/44537
Reviewed-by: Al

introduce json_rpc_events for announcing json rpc processes starts

Change-Id: I47ca8ff406bb011c3442fd35f7cfd395ec04a875
Reviewed-on: http://review.couchbase.org/44537
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>

show more ...


# 9d8157a5 19-Dec-2014 Artem Stemkovski <astemkov@gmail.com>

handle {<<result>>, null} return from gorpc correctly

Change-Id: I87d36137388506e730f81f096172b8ce74166ca9
Reviewed-on: http://review.couchbase.org/44536
Tested-by: Artem Stemkovski

handle {<<result>>, null} return from gorpc correctly

Change-Id: I87d36137388506e730f81f096172b8ce74166ca9
Reviewed-on: http://review.couchbase.org/44536
Tested-by: Artem Stemkovski <artem@couchbase.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>

show more ...


# 67860c9e 05-Dec-2014 Aliaksey Kandratsenka <alk@tut.by>

added ns_server infrastructure for reverse jsonrpc

Change-Id: Ie2d5727235d0a05824cc7094feb0f095b7f40ca0
Reviewed-on: http://review.couchbase.org/44068
Tested-by: Aliaksey Kandratsenk

added ns_server infrastructure for reverse jsonrpc

Change-Id: Ie2d5727235d0a05824cc7094feb0f095b7f40ca0
Reviewed-on: http://review.couchbase.org/44068
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

show more ...