<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/mariadb-git.git, branch columnstore_cache</title>
<subtitle>github.com: MariaDB/server.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/'/>
<entry>
<title>Fixed bug in free locks that caused rows in cache to not be properly flushed</title>
<updated>2020-08-11T15:26:36+00:00</updated>
<author>
<name>Monty</name>
<email>monty@mariadb.org</email>
</author>
<published>2020-08-11T15:26:36+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=1ff23d0cd70d576a0f4e512ce332cff348591d36'/>
<id>1ff23d0cd70d576a0f4e512ce332cff348591d36</id>
<content type='text'>
Fixed by doing adding external_lock(F_UNLCK) in free_locks.
I also moved unlock of cache_handler to be after changing lock type of
cached tables to ensure that no one can use cached table while this is
happening (as cache table is locked with write lock).
I also fixed a wrong mutex order bug in ha_cache::flush_insert_cache()

Other things:
- Addded share::cached_rows to track inserted rows. This is only used
  for asserts to check the number of rows in the cache.
- Fixed wrong mysql_file_chsize() in case of repair
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed by doing adding external_lock(F_UNLCK) in free_locks.
I also moved unlock of cache_handler to be after changing lock type of
cached tables to ensure that no one can use cached table while this is
happening (as cache table is locked with write lock).
I also fixed a wrong mutex order bug in ha_cache::flush_insert_cache()

Other things:
- Addded share::cached_rows to track inserted rows. This is only used
  for asserts to check the number of rows in the cache.
- Fixed wrong mysql_file_chsize() in case of repair
</pre>
</div>
</content>
</entry>
<entry>
<title>Added test of usage of two instances of a cached table</title>
<updated>2020-07-01T17:27:27+00:00</updated>
<author>
<name>Monty</name>
<email>monty@mariadb.org</email>
</author>
<published>2020-07-01T17:27:27+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=36590b33a6175739f1fd7ee6427b1b5b4224bd3e'/>
<id>36590b33a6175739f1fd7ee6427b1b5b4224bd3e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed crashed bug on simple insert</title>
<updated>2020-07-01T16:15:45+00:00</updated>
<author>
<name>Monty</name>
<email>monty@mariadb.org</email>
</author>
<published>2020-07-01T16:15:45+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=ba731bdc6a80e88d32e7440044b548c3e3edc591'/>
<id>ba731bdc6a80e88d32e7440044b548c3e3edc591</id>
<content type='text'>
Other things:
- Added test from columnstore team
- Fixed two reported bugs from columnstore team
- Call free_locks as part of start_trans() instead of get_status()
  to ensure that we have locks both for cached table and cache table
  before we try to free any.
- Store pointers to lock-&gt;get_status and lock-&gt;update_status for the
  cached table. Was needed by ha_tina in flush_insert_cache to make
  new insert rows visible for the SELECT that caused the flush
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Other things:
- Added test from columnstore team
- Fixed two reported bugs from columnstore team
- Call free_locks as part of start_trans() instead of get_status()
  to ensure that we have locks both for cached table and cache table
  before we try to free any.
- Store pointers to lock-&gt;get_status and lock-&gt;update_status for the
  cached table. Was needed by ha_tina in flush_insert_cache to make
  new insert rows visible for the SELECT that caused the flush
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed bug in cache:</title>
<updated>2020-06-18T20:29:35+00:00</updated>
<author>
<name>Monty</name>
<email>monty@mariadb.org</email>
</author>
<published>2020-06-18T20:29:35+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=0463e1f722d4d32526760c923e0092a380a9e634'/>
<id>0463e1f722d4d32526760c923e0092a380a9e634</id>
<content type='text'>
- The THR_LOCK org_lock must be stored in a shared structure so that all
  instances of a table can use it. Fixed by adding a ha_cache_share object
  that keeps track of this one.
- Fixed wrong test in get_status_and_flush_cache to detect in insert command
- Fixed in get_status_and_flush_cache that we always free the insert lock
  if we don't need it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- The THR_LOCK org_lock must be stored in a shared structure so that all
  instances of a table can use it. Fixed by adding a ha_cache_share object
  that keeps track of this one.
- Fixed wrong test in get_status_and_flush_cache to detect in insert command
- Fixed in get_status_and_flush_cache that we always free the insert lock
  if we don't need it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Column_store_cache, stage 1</title>
<updated>2020-04-23T13:45:47+00:00</updated>
<author>
<name>Monty</name>
<email>monty@mariadb.org</email>
</author>
<published>2020-04-19T09:07:16+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=0dd14078953e3dc60e9f361f4c769a6d10e65b87'/>
<id>0dd14078953e3dc60e9f361f4c769a6d10e65b87</id>
<content type='text'>
This is implemented on top of csv engine. Should be moved to ColumnStore
ASAP
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is implemented on top of csv engine. Should be moved to ColumnStore
ASAP
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-15526 systemd unit files naming and installation</title>
<updated>2020-04-18T13:06:16+00:00</updated>
<author>
<name>Faustin Lammler</name>
<email>faustin@fala.red</email>
</author>
<published>2019-01-11T21:22:44+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=6af0bd69074725c8d8b10f07ed4ccc013d010322'/>
<id>6af0bd69074725c8d8b10f07ed4ccc013d010322</id>
<content type='text'>
Drop Aliases from the service file directive. Aliases in the service
file only take effect when the service is enabled. This is the case
because Aliases in service files do not have to be unique across various
services.

Shipping symlinks guarantees that one can always enable mariadb service
using `systemctl enable mysql` or `systemctl enable mysqld` and makes
the commands indempotent.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Drop Aliases from the service file directive. Aliases in the service
file only take effect when the service is enabled. This is the case
because Aliases in service files do not have to be unique across various
services.

Shipping symlinks guarantees that one can always enable mariadb service
using `systemctl enable mysql` or `systemctl enable mysqld` and makes
the commands indempotent.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update plugins.pam_* tests to no longer provide --plugin-dir to mysqltest</title>
<updated>2020-04-18T12:18:34+00:00</updated>
<author>
<name>Vicențiu Ciorbaru</name>
<email>vicentiu@mariadb.org</email>
</author>
<published>2020-04-17T17:41:33+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=afde33fc6f414f3e6294a2b14bd9423bdca2a0be'/>
<id>afde33fc6f414f3e6294a2b14bd9423bdca2a0be</id>
<content type='text'>
Post change of 8447edb7473c5532ecb2544ce6d00d5a868f5bd5, --plugin-dir
is set in the default my.cnf file under [client]. The value is automatically
detected during mtr startup.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Post change of 8447edb7473c5532ecb2544ce6d00d5a868f5bd5, --plugin-dir
is set in the default my.cnf file under [client]. The value is automatically
detected during mtr startup.
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-20502 Queries against spider tables return wrong values for columns following constant declarations.</title>
<updated>2020-04-17T02:52:42+00:00</updated>
<author>
<name>Kentoku SHIBA</name>
<email>kentokushiba@gmail.com</email>
</author>
<published>2020-04-15T14:19:10+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=181f17c3cd4366f58d9efbff9d7556bb49742ed4'/>
<id>181f17c3cd4366f58d9efbff9d7556bb49742ed4</id>
<content type='text'>
When executing a query like "select id, 0 as const, val from ...", there are 3 columns(items) in Query-&gt;select at handlerton-&gt;create_group_by(). After that, MariaDB makes a temporary table with 2 columns. The skipped items are const item, so fixing Spider to skip const items for items at Query-&gt;select.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When executing a query like "select id, 0 as const, val from ...", there are 3 columns(items) in Query-&gt;select at handlerton-&gt;create_group_by(). After that, MariaDB makes a temporary table with 2 columns. The skipped items are const item, so fixing Spider to skip const items for items at Query-&gt;select.
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-21884 MariaDB with Spider crashes on a query</title>
<updated>2020-04-17T01:32:57+00:00</updated>
<author>
<name>Kentoku SHIBA</name>
<email>kentokushiba@gmail.com</email>
</author>
<published>2020-04-16T16:49:46+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=b4dd996dc10511b2f03e9a1926debc556af419a3'/>
<id>b4dd996dc10511b2f03e9a1926debc556af419a3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Post-fixes for MDEV-18851 for Windows</title>
<updated>2020-04-17T11:11:07+00:00</updated>
<author>
<name>Vladislav Vaintroub</name>
<email>wlad@mariadb.com</email>
</author>
<published>2020-04-17T11:11:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=e2a932c9eaac47dc0fdf21ee0536f43386221601'/>
<id>e2a932c9eaac47dc0fdf21ee0536f43386221601</id>
<content type='text'>
- On Windows, do not handle lack of SeLockMemory privilege as fatal error.
Just like on any other platform, there is a fallback to ordinary pages.
It is better than server that does not start, silently.

- On Windows, remove incorrect  irritating "fallback to conventional pages failed"
from the warning, when allocating large pages fails.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- On Windows, do not handle lack of SeLockMemory privilege as fatal error.
Just like on any other platform, there is a fallback to ordinary pages.
It is better than server that does not start, silently.

- On Windows, remove incorrect  irritating "fallback to conventional pages failed"
from the warning, when allocating large pages fails.
</pre>
</div>
</content>
</entry>
</feed>
