yoku ts.
yoku0****@gmail*****
2014年 9月 24日 (水) 18:53:02 JST
こんにちは、yoku0825といいます。
修正後とされたGroonga 4.0.5でこれに類似した事象が発生しております。。
MariaDB [(none)]> SHOW GLOBAL VARIABLES LIKE '%version%';
+----------------------------+---------------------+
| Variable_name | Value |
+----------------------------+---------------------+
| innodb_version | 5.5.38-MariaDB-35.2 |
| mroonga_libgroonga_version | 4.0.5 |
| mroonga_version | 4.05 |
| protocol_version | 10 |
| slave_type_conversions | |
| version | 5.5.39-MariaDB-log |
| version_comment | MariaDB Server |
| version_compile_machine | x86_64 |
| version_compile_os | Linux |
+----------------------------+---------------------+
9 rows in set (0.01 sec)
(gdb) bt
#0 buffer_new (ctx=0x2aab6805e410, ii=0x2aab4a4320c0, size=12,
pos=0x40f92d4c, bt=0x40f92d50, br=0x40f92d58, bp=0x40f92d60,
id=2704563, h=0x2aab4a440080) at ii.c:3357
#1 0x00002aab4cddac8c in grn_ii_update_one (ctx=0x2aab6805e410,
ii=0x2aab4a4320c0, tid=2704563, u=0x2aab4a417340,
h=0x2aab4a440080) at ii.c:3810
#2 0x00002aab4cde3c87 in grn_ii_column_update (ctx=0x2aab6805e410,
ii=0x2aab4a4320c0, rid=3128765, section=1, oldvalue=0x0,
newvalue=0x2aab6805e598, posting=0x0) at ii.c:5138
#3 0x00002aab4cc65235 in grn_column_index_update (ctx=0x2aab6805e410,
column=0x2aab4a4320c0, id=3128765, section=1,
oldvalue=0x0, newvalue=0x2aab6805e598) at db.c:6173
#4 0x00002aaaaaad2d0a in
ha_mroonga::storage_write_row_multiple_column_index (this=0x2aab6805d018,
buf=0x2aab68080018 "\337\377\377\211\253\062\002", record_id=3128765,
key_info=0x2aab4a4b69e0,
index_column=0x2aab4a4320c0) at ha_mroonga.cpp:5481
#5 0x00002aaaaaadac7e in ha_mroonga::storage_add_index_multiple_columns
(this=0x2aab6805d018, key_info=0x2aab4a4b6818,
num_of_keys=6, index_tables=0x40f931e0, index_columns=0x40f931a0,
skip_unique_key=true) at ha_mroonga.cpp:12997
#6 0x00002aaaaaaea7dc in ha_mroonga::storage_enable_indexes
(this=0x2aab6805d018, mode=2) at ha_mroonga.cpp:12529
#7 0x00002aaaaaaec93b in ha_mroonga::enable_indexes (this=0x2aab6805d018,
mode=2) at ha_mroonga.cpp:12551
..
(gdb) n
3383 while (lseg == NOT_ASSIGNED && (tid =
grn_table_cursor_next(ctx, tc))) {
(gdb)
3384 if ((a = array_at(ctx, ii, tid))) {
(gdb)
3386 uint32_t pos = a[0];
(gdb)
3387 if (!pos || (pos & 1)) { break; }
(gdb)
3414 array_unref(ii, tid);
(gdb)
3383 while (lseg == NOT_ASSIGNED && (tid =
grn_table_cursor_next(ctx, tc))) {
..
ここをずっとぐるぐる回り続けます。
(gdb) p lseg
$9 = 4294967295
(gdb) p tid
$10 = 2657085
手元では100%再現しているので、再現データを出せるか調整中です。
取り急ぎお知らせまででした。
yoku0825,
2014年8月29日 19:49 Kouhei Sutou <kou****@clear*****>:
> 須藤です。
>
> In <20140****@iij*****>
> "[groonga-dev,02709] Re: インデクス処理が終了しない事象" on Fri, 29 Aug 2014 19:24:48
> +0900,
> MINAGAWA Sho <minag****@iij*****> wrote:
>
> > 4.0.5で再現確認を行いましたが、無限ループは発生しませんでした。
> > ご対応有難うございました。
>
> 早速の確認ありがとうございます!
> 問題が解決されていてよかったです。
>
> これからもGroongaを便利に使ってください!
>
>
> --
> 須藤 功平 <kou****@clear*****>
> 株式会社クリアコード <http://www.clear-code.com/>
>
> Groongaベースの全文検索システムを総合サポート:
> http://groonga.org/ja/support/
> パッチ採用 - プログラミングが楽しい人向けの採用プロセス:
> http://www.clear-code.com/recruitment/
> コードリーダー育成支援 - 自然とリーダブルコードを書くチームへ:
> http://www.clear-code.com/services/code-reader/
>
> _______________________________________________
> groonga-dev mailing list
> groon****@lists*****
> http://lists.sourceforge.jp/mailman/listinfo/groonga-dev
>