Issue with Full-Text (FTS) master merge on SQL Server 2012 SP2 -
on current project have annoying issue master merge process occurs after full population of fts index.
let me describe our process: have continuous build setup environment , run unit tests after each commit in our source control. each run create new db (on same sql server) fill test data , run unit tests. unit tests failed because fts index population cannot finish in time.
we have seeing in [sysprocesses] table lots of sessions wait type ft_master_merge block our tests:
in fts log have following error:
the master merge started @ end of full crawl of table or indexed view [tablename] failed hresult = '0x80000049'. database id '45', table id 706101556, catalog id: 5.
here example of how create fts catalog , add table (as can see it's created auto change tracking index update in background):
-- create fts catalog exec sp_fulltext_catalog 'wilcoftscatalog', 'create' exec sp_fulltext_table 'users', 'create', 'wilcoftscatalog', 'pk_users' exec sp_fulltext_column 'users', 'userid', 'add' exec sp_fulltext_column 'users', 'name', 'add' exec sp_fulltext_table 'users', 'activate' exec sp_fulltext_table 'users', 'start_change_tracking' exec sp_fulltext_table 'users', 'start_background_updateindex'
does know root cause of issue , should done avoid it?
thank in advance
Comments
Post a Comment