<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/couchdb.git/src/couch_log/test, branch decrease-indexer-transaction-time-limit</title>
<subtitle>github.com: apache/couchdb.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/'/>
<entry>
<title>Strip last_msg from logs</title>
<updated>2020-07-30T12:10:08+00:00</updated>
<author>
<name>ILYA Khlopotov</name>
<email>iilyak@apache.org</email>
</author>
<published>2020-07-20T18:37:30+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=e1b4259a9e0714fb78f740ee763dd12f84bbca1a'/>
<id>e1b4259a9e0714fb78f740ee763dd12f84bbca1a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move eunit tests into test/eunit directory</title>
<updated>2019-07-29T11:24:37+00:00</updated>
<author>
<name>ILYA Khlopotov</name>
<email>iilyak@apache.org</email>
</author>
<published>2019-05-10T00:45:21+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=cf60cffb44bf18889aa8362b616bafb7bed87445'/>
<id>cf60cffb44bf18889aa8362b616bafb7bed87445</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Suppress export-related compiler warnings</title>
<updated>2018-12-27T21:07:57+00:00</updated>
<author>
<name>Jay Doane</name>
<email>jay.s.doane@gmail.com</email>
</author>
<published>2018-12-27T20:49:47+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=4e75964898bd49218087de1e02391300da024e6c'/>
<id>4e75964898bd49218087de1e02391300da024e6c</id>
<content type='text'>
- For export_all warnings: either replace with explicit exports, add
nowarn_export_all compiler directives when appropriate, or in the case
of couch_epi_sup, move the test to dedicated test file and export the
function needed for testing.

- For "function already exported" warning in couch_key_tree_prop_tests,
remove include_lib attribute for eunit.hrl since it already gets
imported in triq.hrl
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- For export_all warnings: either replace with explicit exports, add
nowarn_export_all compiler directives when appropriate, or in the case
of couch_epi_sup, move the test to dedicated test file and export the
function needed for testing.

- For "function already exported" warning in couch_key_tree_prop_tests,
remove include_lib attribute for eunit.hrl since it already gets
imported in triq.hrl
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not crash couch_log application when gen_* servers send extra args</title>
<updated>2018-10-18T14:51:14+00:00</updated>
<author>
<name>Nick Vatamaniuc</name>
<email>vatamane@apache.org</email>
</author>
<published>2018-10-17T20:24:28+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=92c7530fc8d5d881cdb452b5412f91b9ead4f1dd'/>
<id>92c7530fc8d5d881cdb452b5412f91b9ead4f1dd</id>
<content type='text'>
gen_server, gen_fsm and gen_statem might send extra args when terminating. This
is a recent behavior and not handling these extra args could lead to couch_log
application crashing and taking down the whole VM with it.

There are two improvements to fix the issue:

 1) Handle the extra args. Format them and log as they might have useful
 information included.

 2) Wrap the whole `format` function in a `try ... catch` statement. This will
 avoid any other cases where the logger itself if crashing when attepting to
 format error events.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
gen_server, gen_fsm and gen_statem might send extra args when terminating. This
is a recent behavior and not handling these extra args could lead to couch_log
application crashing and taking down the whole VM with it.

There are two improvements to fix the issue:

 1) Handle the extra args. Format them and log as they might have useful
 information included.

 2) Wrap the whole `format` function in a `try ... catch` statement. This will
 avoid any other cases where the logger itself if crashing when attepting to
 format error events.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix couch_log eunit tests</title>
<updated>2018-10-04T16:30:48+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2018-06-21T17:44:32+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=2e8cde50bd3973fdb40fcd7c0ecd9d299b80dc85'/>
<id>2e8cde50bd3973fdb40fcd7c0ecd9d299b80dc85</id>
<content type='text'>
Fixes #1396
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #1396
</pre>
</div>
</content>
</entry>
<entry>
<title>Add couch_stats tracking back to couch_log (#1064)</title>
<updated>2017-12-15T02:28:19+00:00</updated>
<author>
<name>Peng Hui Jiang</name>
<email>jiangph@cn.ibm.com</email>
</author>
<published>2017-12-15T02:28:19+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=beb87817f7dfaeb9ce2763147ddde9d6d29ffc6e'/>
<id>beb87817f7dfaeb9ce2763147ddde9d6d29ffc6e</id>
<content type='text'>
issue #832</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
issue #832</pre>
</div>
</content>
</entry>
<entry>
<title>Handle deprecated random module</title>
<updated>2017-10-05T15:40:41+00:00</updated>
<author>
<name>Nick Vatamaniuc</name>
<email>vatamane@apache.org</email>
</author>
<published>2017-10-03T06:14:22+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=75984da4b22003d0e46a9fe1001978d999387636'/>
<id>75984da4b22003d0e46a9fe1001978d999387636</id>
<content type='text'>
Use erlang release version to decide if the newer `rand` module is present or
not.

`erlang:function_exported(rand, uniform, 0)` could not be used here as it
returns false when function isn't loaded, even if module and function are both
available.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use erlang release version to decide if the newer `rand` module is present or
not.

`erlang:function_exported(rand, uniform, 0)` could not be used here as it
returns false when function isn't loaded, even if module and function are both
available.
</pre>
</div>
</content>
</entry>
<entry>
<title>Wait for listener's exit during restart test</title>
<updated>2017-06-16T18:54:15+00:00</updated>
<author>
<name>Eric Avdey</name>
<email>eiri@eiri.ca</email>
</author>
<published>2017-06-08T22:37:39+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=3f37ec15ea8cefb895418b13e481a4bd6d27ae6a'/>
<id>3f37ec15ea8cefb895418b13e481a4bd6d27ae6a</id>
<content type='text'>
To test a config listener's restart we are
deleting event handler in config_event
and then immediately checking event manager.

This creates race when we can be a slightly
early and catch old handler yet to be
removed or slightly late and get
new handler that already been installed.

This patch addresses this by waiting for
the old listener to quit and then waiting
for a new handler to be installed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To test a config listener's restart we are
deleting event handler in config_event
and then immediately checking event manager.

This creates race when we can be a slightly
early and catch old handler yet to be
removed or slightly late and get
new handler that already been installed.

This patch addresses this by waiting for
the old listener to quit and then waiting
for a new handler to be installed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add 'src/couch_log/' from commit '194db1adeafd9d5b434ae22b06aecdcb8635863e'</title>
<updated>2017-04-01T17:38:42+00:00</updated>
<author>
<name>Jan Lehnardt</name>
<email>jan@apache.org</email>
</author>
<published>2017-04-01T17:38:42+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=3c082c4ab058141fef8c51de559056b188705baa'/>
<id>3c082c4ab058141fef8c51de559056b188705baa</id>
<content type='text'>
git-subtree-dir: src/couch_log
git-subtree-mainline: 0166e381dd07e2566a05e90f6c18b6b86413ab0c
git-subtree-split: 194db1adeafd9d5b434ae22b06aecdcb8635863e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-subtree-dir: src/couch_log
git-subtree-mainline: 0166e381dd07e2566a05e90f6c18b6b86413ab0c
git-subtree-split: 194db1adeafd9d5b434ae22b06aecdcb8635863e
</pre>
</div>
</content>
</entry>
</feed>
