<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/mnesia/src, branch maint-19</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Merge branch 'dgud/mnesia/slow-startup/OTP-14829' into maint-19</title>
<updated>2017-12-15T15:03:30+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2017-12-15T15:03:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=cb45b92217dd06dbba3762059da56ecac9be600b'/>
<id>cb45b92217dd06dbba3762059da56ecac9be600b</id>
<content type='text'>
* dgud/mnesia/slow-startup/OTP-14829:
  mnesia: Read schema user properties directly
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* dgud/mnesia/slow-startup/OTP-14829:
  mnesia: Read schema user properties directly
</pre>
</div>
</content>
</entry>
<entry>
<title>mnesia: Read schema user properties directly</title>
<updated>2017-12-14T09:31:45+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2017-12-14T09:31:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=1df585794e2d54a42728ba32d23e41ef3de961d1'/>
<id>1df585794e2d54a42728ba32d23e41ef3de961d1</id>
<content type='text'>
Doing a proper transaction handling of user properties (in current
implmenentation) caused schema_transactions to be quadratic which
caused huge startup times for nodes with many tables since the merge schema
is a schema_transaction.

Do a direct read instead, cheap but implies that the plugin changes
will not be visible until the changes are commited and cannot be used
later in same transaction, which was possible before if undocumented
functions where used.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Doing a proper transaction handling of user properties (in current
implmenentation) caused schema_transactions to be quadratic which
caused huge startup times for nodes with many tables since the merge schema
is a schema_transaction.

Do a direct read instead, cheap but implies that the plugin changes
will not be visible until the changes are commited and cannot be used
later in same transaction, which was possible before if undocumented
functions where used.
</pre>
</div>
</content>
</entry>
<entry>
<title>mnesia: Fix error handling in abort write</title>
<updated>2017-11-14T11:11:48+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2017-11-14T11:11:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=b0019accbd2ad3f5f433a8ca0c877f3bf8456f92'/>
<id>b0019accbd2ad3f5f433a8ca0c877f3bf8456f92</id>
<content type='text'>
The "root cause" error reason was lost when abort_write failed,
e.g. file was already closed, and Mod:abort_write(..) returned an
error.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The "root cause" error reason was lost when abort_write failed,
e.g. file was already closed, and Mod:abort_write(..) returned an
error.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed crash when a table was deleted during checkpoint traversal</title>
<updated>2017-01-30T14:39:37+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2017-01-26T11:43:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=230358701da9764fa4c637e9e781668276f14938'/>
<id>230358701da9764fa4c637e9e781668276f14938</id>
<content type='text'>
Set fixtable false will fail on deleted tables, catch that and also
report checkpoint deactivate error, so user can see why checkpoint
was deactivated and backup fails.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Set fixtable false will fail on deleted tables, catch that and also
report checkpoint deactivate error, so user can see why checkpoint
was deactivated and backup fails.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'richcarl/mnesia/table_info_order' into maint</title>
<updated>2016-12-05T09:35:43+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2016-12-05T09:35:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=c5fa3721bbe6ea3742703a4662f94a11c2a4d5c1'/>
<id>c5fa3721bbe6ea3742703a4662f94a11c2a4d5c1</id>
<content type='text'>
* richcarl/mnesia/table_info_order:
  Preserve key order in mnesia:table_info
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* richcarl/mnesia/table_info_order:
  Preserve key order in mnesia:table_info
</pre>
</div>
</content>
</entry>
<entry>
<title>Use off_heap memory queue for mnesia_tm</title>
<updated>2016-11-28T14:40:24+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2016-11-28T14:40:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=6f736dcf0600a2a99e7330bf56ab5565cfbe7114'/>
<id>6f736dcf0600a2a99e7330bf56ab5565cfbe7114</id>
<content type='text'>
Helps when mnesia_tm gets drowned in dirty_writes from remote node.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Helps when mnesia_tm gets drowned in dirty_writes from remote node.
</pre>
</div>
</content>
</entry>
<entry>
<title>Preserve key order in mnesia:table_info</title>
<updated>2016-11-18T14:48:43+00:00</updated>
<author>
<name>Richard Carlsson</name>
<email>richardc@klarna.com</email>
</author>
<published>2016-11-18T14:48:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=30ea1dce5f98636315726af13a8944f0963f447a'/>
<id>30ea1dce5f98636315726af13a8944f0963f447a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'dgud/mnesia/fix-blocked/OTP-13970' into maint</title>
<updated>2016-10-24T11:02:37+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2016-10-24T11:02:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=f66073c2960a4b072e18c4e1dfed143b94cd60c6'/>
<id>f66073c2960a4b072e18c4e1dfed143b94cd60c6</id>
<content type='text'>
* dgud/mnesia/fix-blocked/OTP-13970:
  Avoid some error reports when stopping mnesia
  mnesia: Fix double blocked tables which could cause a crash
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* dgud/mnesia/fix-blocked/OTP-13970:
  Avoid some error reports when stopping mnesia
  mnesia: Fix double blocked tables which could cause a crash
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid some error reports when stopping mnesia</title>
<updated>2016-10-17T10:16:09+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2016-10-17T10:16:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=f8c047bb96eff53e5ddaff3d1a00d6a85a990bf3'/>
<id>f8c047bb96eff53e5ddaff3d1a00d6a85a990bf3</id>
<content type='text'>
Worker processes can cause error reports if the main mnesia processes
dissapear.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Worker processes can cause error reports if the main mnesia processes
dissapear.
</pre>
</div>
</content>
</entry>
<entry>
<title>mnesia: Fix double blocked tables which could cause a crash</title>
<updated>2016-10-11T13:19:10+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2016-10-11T13:19:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=82d1b7b4c79cef54f04e062f04b696544609a25b'/>
<id>82d1b7b4c79cef54f04e062f04b696544609a25b</id>
<content type='text'>
Fast restarts could cause table to be blocked twice.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fast restarts could cause table to be blocked twice.
</pre>
</div>
</content>
</entry>
</feed>
