History log of /3.0.3-GA/memcached/programs/ (Results 1 - 25 of 107)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: v4.6.3, v4.6.2-MP3, v4.6.5, v4.6.2, v4.5.1-MP1, v4.6.0-DP, v4.1.2-MP2, v4.5.1, v4.6.0, v4.5.0, v4.1.1, v3.1.4, v3.1.5, v4.1.0, v3.1.2, v3.1.1, v4.0.0, v3.1.0, v3.1.6, v3.0.2-MP2, v3.0.2
28e825f710-Nov-2014 Trond Norbye <trond.norbye@gmail.com>

Backport of fix for MB-11642

This is a minimum implementation of the patch provided
for Sherlock (all configuration methods removed).

Change-Id: I5be0b7247e13d55570d662f2470ffd8

Backport of fix for MB-11642

This is a minimum implementation of the patch provided
for Sherlock (all configuration methods removed).

Change-Id: I5be0b7247e13d55570d662f2470ffd841a3a7c65
Reviewed-on: http://review.couchbase.org/43047
Reviewed-by: Dave Rigby <daver@couchbase.com>
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>

show more ...

Revision tags: v3.0.1, v3.0.0-beta3, v3.0.0, v3.0.0-beta2
f181819823-Jul-2014 Trond Norbye <trond.norbye@gmail.com>

Refactor: rename UPR to DCP

Change-Id: Idc9f5c4561fbf5bf011ca1dbed5ad00a64c67fa0
Reviewed-on: http://review.couchbase.org/39747
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>

Refactor: rename UPR to DCP

Change-Id: Idc9f5c4561fbf5bf011ca1dbed5ad00a64c67fa0
Reviewed-on: http://review.couchbase.org/39747
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

b449bca021-Jul-2014 Dave Rigby <daver@couchbase.com>

MB-11772: Add `release_free_memory` ioctl and `mcctl` program to access them

Add two new binary protocol commands:

* PROTOCOL_BINARY_CMD_IOCTL_GET - Retrieve a property from the s

MB-11772: Add `release_free_memory` ioctl and `mcctl` program to access them

Add two new binary protocol commands:

* PROTOCOL_BINARY_CMD_IOCTL_GET - Retrieve a property from the server
* PROTOCOL_BINARY_CMD_IOCTL_SET - Modify a property on the server.

Using these, implement a `set release_free_memory` command which will
request the memory allocator to return to the OS any free memory
inside the process.

To access this new functionality, add a `mcctl` command to set/get CTL
properties. Example usage (and currently only supported
functionality):

./mcctl -h localhost:12000 set release_free_memory

Change-Id: I35c40ff9c41c0f00802ff9db9202865ec146f46c
Reviewed-on: http://review.couchbase.org/39608
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

Revision tags: v3.0.0-beta1
7e99993306-Jun-2014 Mike Wiederhold <mike@couchbase.com>

Set the signal handler mask to empty to avoid valgrind warning

Change-Id: I9c9fd12377b759aff38c7012edea74722dee9c1f
Reviewed-on: http://review.couchbase.org/37980
Reviewed-by: Chiyou

Set the signal handler mask to empty to avoid valgrind warning

Change-Id: I9c9fd12377b759aff38c7012edea74722dee9c1f
Reviewed-on: http://review.couchbase.org/37980
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>

show more ...

ca994d1e06-Jun-2014 Mike Wiederhold <mike@couchbase.com>

Fix memory leak in engine_testapp when destroying cookie

We need to decrement the reference counter when we are done with a
cookie otherwise it won't actually be freed.

Change-I

Fix memory leak in engine_testapp when destroying cookie

We need to decrement the reference counter when we are done with a
cookie otherwise it won't actually be freed.

Change-Id: I35cc19f36a50a61e4be8f9701972c75695313fb3
Reviewed-on: http://review.couchbase.org/37977
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>

show more ...

d5a4e06d06-Jun-2014 Dave Rigby <daver@couchbase.com>

MB-11305 Fix dead assignments

As identified by Clang static analyzer; fix instances of dead
assignments - either remove the assignment where it's not needed, or
actually check return

MB-11305 Fix dead assignments

As identified by Clang static analyzer; fix instances of dead
assignments - either remove the assignment where it's not needed, or
actually check return values we were previously ignoring.

Change-Id: I71848c43a126e0fab736ca2a804a9fb51ac5cf03
Reviewed-on: http://review.couchbase.org/37961
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

273bdbd004-Jun-2014 Dave Rigby <daver@couchbase.com>

MB-11305 Fix mock_stats type

The type used by mock stats (mock_new_independent_stats /
mock_release_independent_stats) was incorrect - it should be
'struct mock_stats'

Chang

MB-11305 Fix mock_stats type

The type used by mock stats (mock_new_independent_stats /
mock_release_independent_stats) was incorrect - it should be
'struct mock_stats'

Change-Id: Ice731564fdd9dfbc19e4c6095947251a6fa11259
Reviewed-on: http://review.couchbase.org/37835
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

480eeabd04-Jun-2014 Dave Rigby <daver@couchbase.com>

MB-11305 potential dereference of NULL pointer

As identified by clang static analyser; there is a code path where
{ptr} may be NULL - if no daemon extensions are loaded
(settings.ext

MB-11305 potential dereference of NULL pointer

As identified by clang static analyser; there is a code path where
{ptr} may be NULL - if no daemon extensions are loaded
(settings.extensions.daemon is NULL) and an attempt is made to
unregister something, then {ptr} would be dereferenced at line 8054.

Same bug is also present (and fixed) in mock_server.c

Change-Id: Iea12fa797d8559991bb73f18f48e7361730dca91
Reviewed-on: http://review.couchbase.org/37834
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

a242a76204-Jun-2014 Dave Rigby <daver@couchbase.com>

MB-11305 fix leak of cmdline from engine_testapp

As identified by clang static analyser; {cmdline} was not previously
freed if main() exited during any of the parameter checks. Fix by

MB-11305 fix leak of cmdline from engine_testapp

As identified by clang static analyser; {cmdline} was not previously
freed if main() exited during any of the parameter checks. Fix by
moving the check for cmdline to the end; and then freeing there.

Change-Id: I43784d726da8a602e07b528404e08de844f2a7d1
Reviewed-on: http://review.couchbase.org/37833
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

c6c3202422-May-2014 Trond Norbye <trond.norbye@gmail.com>

Get allocation size should be const

Change-Id: I6e6091e1df56fc012b74a76c3c737f122636ff0d
Reviewed-on: http://review.couchbase.org/37431
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.

Get allocation size should be const

Change-Id: I6e6091e1df56fc012b74a76c3c737f122636ff0d
Reviewed-on: http://review.couchbase.org/37431
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

4f426e2616-May-2014 abhinavdangeti <abhinav@couchbase.com>

MB-11036: Handling race cond. in session_cas impl

- Description in design document
(link available on ticket)

Change-Id: Ic704f962e7637610b3b56c6436bed6676c977090
Reviewed-o

MB-11036: Handling race cond. in session_cas impl

- Description in design document
(link available on ticket)

Change-Id: Ic704f962e7637610b3b56c6436bed6676c977090
Reviewed-on: http://review.couchbase.org/37016
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Reviewed-by: Sundararaman Sridharan <sundar@couchbase.com>
Tested-by: Sundararaman Sridharan <sundar@couchbase.com>

show more ...

ee7191d129-Apr-2014 David Liao <liaodw@gmail.com>

MB-10640 UPR Stream Request and Stream Marker changes

Added new fields for stream req:
snap_start_seqno
snap_end_seqno

Removed:
high_seqno

Added new fields for

MB-10640 UPR Stream Request and Stream Marker changes

Added new fields for stream req:
snap_start_seqno
snap_end_seqno

Removed:
high_seqno

Added new fields for marker:
start_seqno
end_seqno
flags

Change-Id: I4f7528f453e1f0c3021ab51f2173e111ed4a17e9
Reviewed-on: http://review.couchbase.org/36433
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>

show more ...

2c21758709-May-2014 abhinavdangeti <abhinav@couchbase.com>

MB-11036: Support for session cas validation

- Provide API for ns_server to set the session_cas.
- Provide API for ns_server to get current session_cas.
- Provide an API for ep_engin

MB-11036: Support for session cas validation

- Provide API for ns_server to set the session_cas.
- Provide API for ns_server to get current session_cas.
- Provide an API for ep_engine to validate the session_cas
for every request from ns_server
- Validate the session_cas before creating and deleting a
bucket instance.

Change-Id: Iea8ff75c4d19b312c538b9c66eb3fedca7cbfd38
Reviewed-on: http://review.couchbase.org/36735
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

bd0ecd2406-May-2014 abhinavdangeti <abhinav@couchbase.com>

Provide an isDatatypeSupported API for engine

Change-Id: I2636ea5309347b538b23338d527d7b2cf38ccf13
Reviewed-on: http://review.couchbase.org/36737
Reviewed-by: Trond Norbye <trond.nor

Provide an isDatatypeSupported API for engine

Change-Id: I2636ea5309347b538b23338d527d7b2cf38ccf13
Reviewed-on: http://review.couchbase.org/36737
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

934f257803-May-2014 Mike Wiederhold <mike@couchbase.com>

Ref count connections in the mock server like we do in memcached

It's possible for an upr connection to call notify io complete in
a test case after we have destroyed the cookie. If this

Ref count connections in the mock server like we do in memcached

It's possible for an upr connection to call notify io complete in
a test case after we have destroyed the cookie. If this happens
then the test will crash. As a result we should ref count
connections in order to properly release them just like we do
already in memcached.

Change-Id: I284ede9facea87de94910f3315f6c6791473f363
Reviewed-on: http://review.couchbase.org/36655
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

275a89b703-May-2014 Mike Wiederhold <mike@couchbase.com>

Clean up callbacks from old engines in engine_testapp

If we leave old callbacks around then calling one of them can
trigger a callback on a NULL engine in test cases where we
reload

Clean up callbacks from old engines in engine_testapp

If we leave old callbacks around then calling one of them can
trigger a callback on a NULL engine in test cases where we
reload the engine in the middle of the test.

Change-Id: I519c6dcd3647420774c30cf0444bc352046cae71
Reviewed-on: http://review.couchbase.org/36654
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

6cf6630f21-Apr-2014 pavel-paulau <pavel.paulau@gmail.com>

Show capital -P flag for password in mctimings usage

Change-Id: I828cb62e84af149abb71b13df597b02a14426f7b
Reviewed-on: http://review.couchbase.org/36107
Reviewed-by: Trond Norbye <tr

Show capital -P flag for password in mctimings usage

Change-Id: I828cb62e84af149abb71b13df597b02a14426f7b
Reviewed-on: http://review.couchbase.org/36107
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

2aec8b9817-Apr-2014 Trond Norbye <trond.norbye@gmail.com>

Gracefully handle errors

Change-Id: Idf0459787867d5d8acb75b0fabf5ae64406cc7c7
Reviewed-on: http://review.couchbase.org/35943
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Te

Gracefully handle errors

Change-Id: Idf0459787867d5d8acb75b0fabf5ae64406cc7c7
Reviewed-on: http://review.couchbase.org/35943
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

c237f43917-Apr-2014 Trond Norbye <trond.norbye@gmail.com>

Add more error checking for mctimings

Change-Id: I96a85310bd48180c03919cdc398d2bbd8a27321c
Reviewed-on: http://review.couchbase.org/35935
Reviewed-by: Trond Norbye <trond.norbye@gmai

Add more error checking for mctimings

Change-Id: I96a85310bd48180c03919cdc398d2bbd8a27321c
Reviewed-on: http://review.couchbase.org/35935
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

d4ae896828-Mar-2014 Trond Norbye <trond.norbye@gmail.com>

Print out the command name

Allow the user to specify the opcode by name or value

Change-Id: I5898257224b1d4786de4349fa93b2a94eca0755d
Reviewed-on: http://review.couchbase.org/35

Print out the command name

Allow the user to specify the opcode by name or value

Change-Id: I5898257224b1d4786de4349fa93b2a94eca0755d
Reviewed-on: http://review.couchbase.org/35051
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

bd1ef70e27-Mar-2014 Trond Norbye <trond.norbye@gmail.com>

Generate command timings

ex: trond@ok:1014> ./mctimings -p 12000 1
[ 20 - 29]us |########### - 359
[ 30 - 39]us |########################## - 868
[ 40 - 49]us |#########

Generate command timings

ex: trond@ok:1014> ./mctimings -p 12000 1
[ 20 - 29]us |########### - 359
[ 30 - 39]us |########################## - 868
[ 40 - 49]us |########################### - 887
[ 50 - 59]us |#################################### - 1185
[ 60 - 69]us |######################################## - 1304
[ 70 - 79]us |############################## - 994
[ 80 - 89]us |################# - 567
[ 90 - 99]us |############ - 416
[ 100 - 109]us |######### - 315
[ 110 - 119]us |####### - 252
[ 120 - 129]us |###### - 204
[ 130 - 139]us |#### - 143
[ 140 - 149]us |### - 102
[ 150 - 159]us |## - 84
[ 160 - 169]us |# - 55
[ 170 - 179]us |# - 43
[ 180 - 189]us | - 31
[ 190 - 199]us | - 19
[ 200 - 209]us | - 20
[ 210 - 219]us | - 12
[ 220 - 229]us | - 5
[ 230 - 239]us | - 8
[ 240 - 249]us | - 4
[ 250 - 259]us | - 3
[ 310 - 319]us | - 4
[ 320 - 329]us | - 1
[ 340 - 349]us | - 2
[ 350 - 359]us | - 1
[ 2 - 2]ms | - 1

Change-Id: Ic79a19b6a87841710e24b915db22d07166add3bd
Reviewed-on: http://review.couchbase.org/34986
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Michael Wiederhold <mike@couchbase.com>

show more ...

464d6f0b17-Mar-2014 Trond Norbye <trond.norbye@gmail.com>

MB-10476: Use cb_assert which is never a noop

Change-Id: Ibf478e0dc55697ea7b9fe1aff1ac18a4ec1ea0c7
Reviewed-on: http://review.couchbase.org/34580
Reviewed-by: Michael Wiederhold <mik

MB-10476: Use cb_assert which is never a noop

Change-Id: Ibf478e0dc55697ea7b9fe1aff1ac18a4ec1ea0c7
Reviewed-on: http://review.couchbase.org/34580
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: buildbot <build@couchbase.com>

show more ...

9dd7854613-Mar-2014 Sundar Sridharan <sundar.sridharan@gmail.com>

fix compiler warning in engine_testapp on centos

Change-Id: Ib998c6e21fcd35787f773622f6268dfe23d88248
Reviewed-on: http://review.couchbase.org/34477
Tested-by: buildbot <build@couchb

fix compiler warning in engine_testapp on centos

Change-Id: Ib998c6e21fcd35787f773622f6268dfe23d88248
Reviewed-on: http://review.couchbase.org/34477
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

3d213c3612-Mar-2014 Trond Norbye <trond.norbye@gmail.com>

MB-10416: Add UPR control

Change-Id: Id0c28d2ebea002db93ebfb5c36622df5f79a286e
Reviewed-on: http://review.couchbase.org/34417
Reviewed-by: Michael Wiederhold <mike@couchbase.com>

MB-10416: Add UPR control

Change-Id: Id0c28d2ebea002db93ebfb5c36622df5f79a286e
Reviewed-on: http://review.couchbase.org/34417
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>

show more ...

942a867a13-Mar-2014 Mike Wiederhold <mike@couchbase.com>

MB-10416: Add upr buffer acknowledgement

Change-Id: Id9cf495b09228823a667704e9368e40f0b48df00
Reviewed-on: http://review.couchbase.org/34416
Reviewed-by: Michael Wiederhold <mike@cou

MB-10416: Add upr buffer acknowledgement

Change-Id: Id9cf495b09228823a667704e9368e40f0b48df00
Reviewed-on: http://review.couchbase.org/34416
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>

show more ...

12345