Sayed
Sayed
My concern for now is: as it is written on the obsolete message of IMigrationSource to use IFilteringMigrationSource to get better performance, would that affect DefaultMigrationInformationLoader class?
I found those lines in the end of Debug.log ``` 2023-08-31 17:17:56,319 - executing flush 2023-08-31 17:17:56,320 - Registering flush begin 2023-08-31 17:17:56,324 - Putting 1 objects... 2023-08-31 17:17:56,324 -...
> Would you be able to reproduce the trouble with the NHibernate-Caches test project? It will confirm this is not specific to your application. Which test project? Btw, how could...
@fredericDelaporte, So I have enabled logging and done debugging ... here is what I found: First, I have an entity class called `Entity` which has a relation bag (one-to-many) with...
One enhancement which could be done, after checking SLC and find it is missed then it goes to DB `DefaultLoadEventListener.LoadFromDatasource` then it should not go again trying to fetch from...
@fredericDelaporte, the logs should help understanding the pattern which is occurring by tracking the logs I could see that it could not find the keys inside Redis for some reason!...
From the logs I can see that after calling GetMany then it calls GetValue which logs that the cached item was locked and this is the main issue. ``` 2023-09-03...
@fredericDelaporte, I have added a log to check how IsGettable returns false and here is the log: `CachedItem IsGettable: False - FreshTimestamp: 6937663858212864 - txTimestamp: 6937663715237888` So it seems CachedItem.IsGettable...
@fredericDelaporte, I have removed that check `return FreshTimestamp < txTimestamp;` and just returned `true` ... now the 2 applications startup fine. I still do not understand the logic behind that...
@fredericDelaporte, I believe I fixed the issue. There is function `BatchFetchQueue.GetEntityBatch(IEntityPersister persister, object id, int batchSize, bool checkCache)` So we need to call this method with `checkCache = false` when...