<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/mnesia/src, branch R16B02_yielding_binary_to_term</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>mnesia: Checkpoint fix</title>
<updated>2013-08-29T08:17:31+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2013-08-26T14:03:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=e92f5a220ec9d5a72ba3e65ff7715f9167e5b9b1'/>
<id>e92f5a220ec9d5a72ba3e65ff7715f9167e5b9b1</id>
<content type='text'>
Avoid hanging waiting for other processes on other node
to commit.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Avoid hanging waiting for other processes on other node
to commit.
</pre>
</div>
</content>
</entry>
<entry>
<title>mnesia: Improve checkpoint activation</title>
<updated>2013-08-29T08:17:31+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2013-08-15T13:54:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=2c3be1dc1a4af5028be7659587c5d5676b7eb83e'/>
<id>2c3be1dc1a4af5028be7659587c5d5676b7eb83e</id>
<content type='text'>
Fixed a race where some parts of a transaction could
be added to the checkpoint.

There are probably more races here but this improves the current
testcases.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed a race where some parts of a transaction could
be added to the checkpoint.

There are probably more races here but this improves the current
testcases.
</pre>
</div>
</content>
</entry>
<entry>
<title>mnesia: Cleanup and remove obsolete code</title>
<updated>2013-08-29T08:17:31+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2013-03-14T08:45:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=e67d2d1dc46f43a3a304082cfed477100a6330d4'/>
<id>e67d2d1dc46f43a3a304082cfed477100a6330d4</id>
<content type='text'>
We don't support communicating with such old nodes anyway.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We don't support communicating with such old nodes anyway.
</pre>
</div>
</content>
</entry>
<entry>
<title>mnesia: fix removal of bup file if not mnesia is started</title>
<updated>2013-08-16T08:59:47+00:00</updated>
<author>
<name>Fredrik Gustafsson</name>
<email>fredrik@erlang.org</email>
</author>
<published>2013-08-15T13:08:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=f07a92206bfbef5188b9d567559e1b13014dd82c'/>
<id>f07a92206bfbef5188b9d567559e1b13014dd82c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright years</title>
<updated>2013-06-12T17:37:57+00:00</updated>
<author>
<name>Björn-Egil Dahlberg</name>
<email>egil@erlang.org</email>
</author>
<published>2013-06-12T17:37:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=710b07ca18417976459335a8b0b81a6f6aa82699'/>
<id>710b07ca18417976459335a8b0b81a6f6aa82699</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>mnesia: Fix unsubscribe error handling</title>
<updated>2013-06-04T13:46:20+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2013-06-04T13:46:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=927982b8754ceada8b6d76225475f54b410de9e9'/>
<id>927982b8754ceada8b6d76225475f54b410de9e9</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 'nm/mnesia_idx_insert_speedup/OTP-11103' into maint</title>
<updated>2013-05-17T08:03:30+00:00</updated>
<author>
<name>Fredrik Gustafsson</name>
<email>fredrik@erlang.org</email>
</author>
<published>2013-05-17T08:03:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=a70d09b6e611771b467a91c7ebeca1e14390553a'/>
<id>a70d09b6e611771b467a91c7ebeca1e14390553a</id>
<content type='text'>
* nm/mnesia_idx_insert_speedup/OTP-11103:
  Fix missing case clause for ordered_set tables
  Optimize index creation for Mnesia set tables
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* nm/mnesia_idx_insert_speedup/OTP-11103:
  Fix missing case clause for ordered_set tables
  Optimize index creation for Mnesia set tables
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix missing case clause for ordered_set tables</title>
<updated>2013-04-24T18:05:25+00:00</updated>
<author>
<name>Nick Marino</name>
<email>nmarino@shoretel.com</email>
</author>
<published>2013-04-24T17:55:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=fb8cbfa5db65f4bb9dcb133de9414c78aa49d9e7'/>
<id>fb8cbfa5db65f4bb9dcb133de9414c78aa49d9e7</id>
<content type='text'>
The previous commit contained a regression that would trigger a crash
when attempting to add an index to an Mnesia table of type ordered_set.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The previous commit contained a regression that would trigger a crash
when attempting to add an index to an Mnesia table of type ordered_set.
</pre>
</div>
</content>
</entry>
<entry>
<title>Optimize index creation for Mnesia set tables</title>
<updated>2013-04-12T19:17:01+00:00</updated>
<author>
<name>Nick Marino</name>
<email>nmarino@shoretel.com</email>
</author>
<published>2013-04-12T17:57:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=ac9540ee6d508f707abf40dd79ebd738f4272db7'/>
<id>ac9540ee6d508f707abf40dd79ebd738f4272db7</id>
<content type='text'>
ETS bag tables have very poor performance on insertion if you have lots
of rows with duplicate keys, since it has to check each existing record
and make sure it's not inserting any duplicates. This can lead to some
pretty drastic slowdowns when inserting lots of rows into an Mnesia
table, IF you're introducing lots of duplicate values into an indexed
column.

As it turns out, we can fix this by switching to duplicate_bag tables
for storing Mnesia indexes on tables of type 'set', and it ultimately
makes no functional difference since we will never actually attempt to
insert any duplicate records anyway. (We would have to make some bigger
changes to make this work for Mnesia bag tables though, so that is left
as a possible enhancement for the future.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ETS bag tables have very poor performance on insertion if you have lots
of rows with duplicate keys, since it has to check each existing record
and make sure it's not inserting any duplicates. This can lead to some
pretty drastic slowdowns when inserting lots of rows into an Mnesia
table, IF you're introducing lots of duplicate values into an indexed
column.

As it turns out, we can fix this by switching to duplicate_bag tables
for storing Mnesia indexes on tables of type 'set', and it ultimately
makes no functional difference since we will never actually attempt to
insert any duplicate records anyway. (We would have to make some bigger
changes to make this work for Mnesia bag tables though, so that is left
as a possible enhancement for the future.)
</pre>
</div>
</content>
</entry>
<entry>
<title>mnesia: Fixed bad data in table</title>
<updated>2013-04-11T08:15:22+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2013-04-11T06:53:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=4f1f29eca9984c33f563b57a4d82f02ed0bf9c21'/>
<id>4f1f29eca9984c33f563b57a4d82f02ed0bf9c21</id>
<content type='text'>
If mnesia:cleartable/1 was called during a table_load an schema event
with delete and write of that table is sent, which caused the table
to contain the schema record instead of clearing the table.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If mnesia:cleartable/1 was called during a table_load an schema event
with delete and write of that table is sent, which caused the table
to contain the schema record instead of clearing the table.
</pre>
</div>
</content>
</entry>
</feed>
