Hello,
Recently we have updated out Episerver version and also FIND version. Now FIND version stands at 13.0.4.
We deployed at two server. One is testing and one is PROD. On testing everything seems to be working fine. When we deployed on PROD it gave error that findIndexQueueLoadItems already exists in DB. We checked it and it was inside the Stored Procedures. We deleted the file from DB. It gave error on 3-4 other files and we deleted them and then it was working. Episerver created the stored procedure again.
We didn't had that issue on TEST enviornment. But now one of the pages are not being indexed in FIND. When we see in those particular stored procedure, the code on TEST and PROD are different.
On TEST one of the stored procedures are like
USE [dbUdePortalenFeature]
GO
/****** Object: StoredProcedure [dbo].[findIndexQueueSave] Script Date: 12/17/2018 9:36:33 AM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[findIndexQueueSave]
(
@action int,
@cascade bit,
@enableLanguageFilter bit,
@item nvarchar(255),
@itemlanguage nvarchar(255),
@timeStamp datetime,
@hash int
)
AS
BEGIN
SET NOCOUNT ON
if not exists(select * from tblFindIndexQueue where Hash=@hash AND LastRead IS NULL)
BEGIN
insert into tblFindIndexQueue(Action, [Cascade], EnableLanguageFilter, Item, [Language], TimeStamp, [Hash]) values(@action, @cascade, @enableLanguageFilter, @item, @itemlanguage, @timeStamp, @hash)
END
else
BEGIN
update tblFindIndexQueue set TimeStamp = @timeStamp where Hash=@hash
END
END
On PROD the same Store procedure looks like
USE [dbUdePortalenEpi10]
GO
/****** Object: StoredProcedure [dbo].[findIndexQueueSave] Script Date: 12/17/2018 9:36:39 AM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[findIndexQueueSave]
(
@action int,
@cascade bit,
@enableLanguageFilter bit,
@item nvarchar(255),
@itemlanguage nvarchar(255),
@timeStamp datetime,
@hash int
)
AS
BEGIN
SET NOCOUNT ON
if not exists(select * from tblFindIndexQueue where Hash=@hash)
BEGIN
insert into tblFindIndexQueue(Action, [Cascade], EnableLanguageFilter, Item, [Language], TimeStamp, [Hash]) values(@action, @cascade, @enableLanguageFilter, @item, @itemlanguage, @timeStamp, @hash)
END
END
Any thoughts??