# _database_close/_database_reopen can't use with HTTP because requests via HTTP are always # processed by workers. Workers never use primary WAL role. #@require-interface stdio #@require-feature message_pack #$GROONGA_ALLOW_DATABASE_REOPEN=yes #$GRN_WAL_ROLE=primary table_create Data TABLE_NO_KEY column_create Data content COLUMN_SCALAR ShortText load --table Data [ {"content": "a"}, {"content": "a and b and c"}, {"content": "a and b and c and d and e and f"} ] delete Data --id 2 dump _database_close #@copy-path #{db_path}.0000100 #{db_path}.0000100.wal #@add-important-log-levels notice _database_reopen #@remove-important-log-levels notice dump