Yasuhiro Horimoto 2018-12-28 12:01:22 +0900 (Fri, 28 Dec 2018) Revision: 5ec0fbb37a68653f25d26a59ae5c885b94192b04 https://github.com/groonga/groonga.org/commit/5ec0fbb37a68653f25d26a59ae5c885b94192b04 Message: blog: remove a wrong topic in announce for 8.1.0 Modified files: en/_posts/2018-12-29-groonga-8.1.0.md ja/_posts/2018-12-29-groonga-8.1.0.md Modified: en/_posts/2018-12-29-groonga-8.1.0.md (+2 -127) =================================================================== --- en/_posts/2018-12-29-groonga-8.1.0.md 2018-12-28 00:33:47 +0900 (c2997d710) +++ en/_posts/2018-12-29-groonga-8.1.0.md 2018-12-28 12:01:22 +0900 (5edeff900) @@ -15,134 +15,9 @@ How to install: [Install](/docs/install.html) Here are important changes in this release: -* The [logical_select](/docs/reference/commands/logical_select) Added new options `load_table` and `load_columns`, `load_values`. +* Fixed a bug that unlock against DB is always executed after flush when after execute a ``io_flush`` command. -#### The [logical_select](/docs/reference/commands/logical_select) Added new options `load_table` and `load_columns`, `load_values`. - -New options `load_table` , `load_columns` and `load_values` are now available for `logical_select`. -You can store a result of `logical_select` into a table that specifying `load_table` as below. - -``` -plugin_register sharding -[[0,0.0,0.0],true] -table_create Logs_20150203 TABLE_NO_KEY -[[0,0.0,0.0],true] -column_create Logs_20150203 timestamp COLUMN_SCALAR Time -[[0,0.0,0.0],true] -table_create Logs_20150204 TABLE_NO_KEY -[[0,0.0,0.0],true] -column_create Logs_20150204 timestamp COLUMN_SCALAR Time -[[0,0.0,0.0],true] -table_create Logs TABLE_NO_KEY -[[0,0.0,0.0],true] -column_create Logs original_id COLUMN_SCALAR UInt32 -[[0,0.0,0.0],true] -column_create Logs timestamp_text COLUMN_SCALAR ShortText -[[0,0.0,0.0],true] -load --table Logs_20150203 -[ -{ - "timestamp": "2015-02-03 10:49:00" -}, -{ - "timestamp": "2015-02-03 12:49:00" -} -] -[[0,0.0,0.0],2] -load --table Logs_20150204 -[ -{ - "timestamp": "2015-02-04 00:00:00" -} -] -[[0,0.0,0.0],1] -logical_select \ - --logical_table Logs \ - --shard_key timestamp \ - --load_table Logs \ - --load_columns "original_id, timestamp_text" \ - --load_values "_id, timestamp" -[ - [ - 0, - 0.0, - 0.0 - ], - [ - [ - [ - 3 - ], - [ - [ - "_id", - "UInt32" - ], - [ - "timestamp", - "Time" - ] - ], - [ - 1, - 1422928140.0 - ], - [ - 2, - 1422935340.0 - ], - [ - 1, - 1422975600.0 - ] - ] - ] -] -select --table Logs -[ - [ - 0, - 0.0, - 0.0 - ], - [ - [ - [ - 3 - ], - [ - [ - "_id", - "UInt32" - ], - [ - "original_id", - "UInt32" - ], - [ - "timestamp_text", - "ShortText" - ] - ], - [ - 1, - 1, - "1422928140000000" - ], - [ - 2, - 2, - "1422935340000000" - ], - [ - 3, - 1, - "1422975600000000" - ] - ] - ] -] -``` +* Fixed a bug that ``reindex`` command doesn't finish when execute a ``reindex`` command against table that has record that has not references. ### Conclusion Modified: ja/_posts/2018-12-29-groonga-8.1.0.md (+4 -127) =================================================================== --- ja/_posts/2018-12-29-groonga-8.1.0.md 2018-12-28 00:33:47 +0900 (e2074bf29) +++ ja/_posts/2018-12-29-groonga-8.1.0.md 2018-12-28 12:01:22 +0900 (245e386ed) @@ -15,134 +15,11 @@ published: false 主な変更点は以下の通りです。 -* [logical_select](ja/docs/reference/commands/logical_select) に新しいオプション `load_table` 、 `load_columns` 、 `load_values` を追加しました。 +* `io_flush` コマンド実行後に、DBに対するアンロックが常にフラッシュの実行後になってしまうバグを修正しました。 + * いずれアンロック情報をOSがストレージへフラッシュしますが、OSがフラッシュする前にGroongaが終了された場合は、DBにロックが残ります。 + * この問題は、WindwosOSでのみ発生します。 -#### [logical_select](ja/docs/reference/commands/logical_select) に新しいオプション `load_table` 、 `load_columns` 、 `load_values` を追加しました。 - -`logical_select` で新たなオプション `load_table` 、 `load_columns` 、 `load_values` が使用できます。 -以下のように、`load_table` で指定したテーブルに `logical_select` の結果を格納できます。 - -``` -plugin_register sharding -[[0,0.0,0.0],true] -table_create Logs_20150203 TABLE_NO_KEY -[[0,0.0,0.0],true] -column_create Logs_20150203 timestamp COLUMN_SCALAR Time -[[0,0.0,0.0],true] -table_create Logs_20150204 TABLE_NO_KEY -[[0,0.0,0.0],true] -column_create Logs_20150204 timestamp COLUMN_SCALAR Time -[[0,0.0,0.0],true] -table_create Logs TABLE_NO_KEY -[[0,0.0,0.0],true] -column_create Logs original_id COLUMN_SCALAR UInt32 -[[0,0.0,0.0],true] -column_create Logs timestamp_text COLUMN_SCALAR ShortText -[[0,0.0,0.0],true] -load --table Logs_20150203 -[ -{ - "timestamp": "2015-02-03 10:49:00" -}, -{ - "timestamp": "2015-02-03 12:49:00" -} -] -[[0,0.0,0.0],2] -load --table Logs_20150204 -[ -{ - "timestamp": "2015-02-04 00:00:00" -} -] -[[0,0.0,0.0],1] -logical_select \ - --logical_table Logs \ - --shard_key timestamp \ - --load_table Logs \ - --load_columns "original_id, timestamp_text" \ - --load_values "_id, timestamp" -[ - [ - 0, - 0.0, - 0.0 - ], - [ - [ - [ - 3 - ], - [ - [ - "_id", - "UInt32" - ], - [ - "timestamp", - "Time" - ] - ], - [ - 1, - 1422928140.0 - ], - [ - 2, - 1422935340.0 - ], - [ - 1, - 1422975600.0 - ] - ] - ] -] -select --table Logs -[ - [ - 0, - 0.0, - 0.0 - ], - [ - [ - [ - 3 - ], - [ - [ - "_id", - "UInt32" - ], - [ - "original_id", - "UInt32" - ], - [ - "timestamp_text", - "ShortText" - ] - ], - [ - 1, - 1, - "1422928140000000" - ], - [ - 2, - 2, - "1422935340000000" - ], - [ - 3, - 1, - "1422975600000000" - ] - ] - ] -] -``` +* 参照先を持たないレコードを持つテーブルに対して `reindex` コマンドを実行した際に、 `reindex` コマンドが終了しないバグを修正しました。 ### さいごに -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20181228/af665baa/attachment-0001.html>