Commit Graph

627 Commits

Author SHA1 Message Date
Shannon
c682bbcaf1 Adds notes and better logging to PublishedSnapshotService, fixes log output from HealthCheckNotifier, changes initial delay time of scheduled task to be longer. 2019-10-31 15:45:57 +11:00
Shannon
296e1ee80f removes test code 2019-10-22 15:55:43 +02:00
Shannon
652591d1c8 removes TODO 2019-10-22 15:55:36 +02:00
Shannon
4641e61743 Fixes issue - when calling Set, we were not setting all node graph elements. 2019-10-22 15:55:28 +02:00
Shannon
b04f9c17ae Makes some updates based on code reviews 2019-10-22 11:55:05 +11:00
JohnBlair
478bc708b9 Defensive programming around disposal of local content and media dbs. 2019-10-22 11:45:03 +11:00
JohnBlair
d774ff8bc1 Undoing a bad previous change where logic in a catch should have been in a finally. Also dispose could throw an error so catch it and complete the clean up. 2019-10-22 11:45:03 +11:00
JohnBlair
ee098e0194 Make sure the local dbs are disposed of if the content store was not created. 2019-10-22 11:44:07 +11:00
JohnBlair
e998fce5d1 Trying to lock could throw exceptions so always make sure to properly clean up the local DB. 2019-10-22 11:44:07 +11:00
JohnBlair
7ace5baf9b Allow nucache content and/or media db files to be reused if they already exist. 2019-10-22 11:44:07 +11:00
Shannon
beb16a2f79 Ensures MainDom.Register absolutely does not call install logic if it's not MainDom, adds logging 2019-10-21 15:47:37 +11:00
Claus
1d39a25240 Merge pull request #6734 from umbraco/v8/bugfix/6698-nucache-panic
Fixes nucache #6698
2019-10-18 10:36:19 +02:00
Shannon
c91680e4c7 removes test code 2019-10-17 18:43:54 +11:00
Shannon
ea642b3c51 removes TODO 2019-10-17 18:43:09 +11:00
Shannon
439bacff07 Fixes issue - when calling Set, we were not setting all node graph elements. 2019-10-17 18:41:05 +11:00
Shannon
6d38f946a4 ensures nucache table isn't rebuilt when adding a new lang 2019-10-16 15:00:13 +11:00
Shannon
9008641965 ensures the domain cache is totally refreshed when changing langs 2019-10-14 22:02:42 +11:00
Shannon
35a7283952 Fixes #2997 - ContentService returns outdated result 2019-09-27 10:59:29 +02:00
Shannon
1caf7f4587 Fixes regression issue in nucache causing a panic exception 2019-09-25 13:51:19 +02:00
Shannon
cc1e46ae05 Simplifies ContentStore for all the instances it's trying to find a linked node by a gen 2019-09-18 00:36:12 +10:00
Shannon
e6805b23e3 Oops! didn't complete the scope, ok now package install works within a trans, fixes nucache changes to not pass around _liveGen since sometimes we want the latest that is not _liveGen 2019-09-18 00:10:02 +10:00
Shannon
7fdbb84c04 Fixes bug with nucache - it wasn't using gen/snapshots the way it was supposed to 2019-09-17 22:38:43 +10:00
Shannon
e1433ddac9 Merge remote-tracking branch 'origin/v8/dev' into v8/bugfix/AB2684-purelive-model-regen 2019-09-17 13:09:54 +10:00
Stephan
b51fb2da9d Fix NuCache ContentStore 2019-09-16 17:27:03 +02:00
Shannon
2b9ab0a38a Merge branch 'v8/bugfix/background-pure-live-rebuild-AB1833' into v8/bugfix/AB2684-purelive-model-regen
# Conflicts:
#	src/Umbraco.Web/Cache/ContentTypeCacheRefresher.cs
#	src/Umbraco.Web/Cache/DataTypeCacheRefresher.cs
2019-09-16 17:38:10 +10:00
Shannon
47d3af9bb3 removes the test suspendable model factory code 2019-09-16 16:59:57 +10:00
Shannon
4c775822c0 fixes null ref issues since the field values were not copied on clone 2019-09-16 16:22:05 +10:00
Shannon
fc821000f3 Adds ext methods for creating a flag to indicate model recompilation should occur 2019-09-16 14:50:05 +10:00
Shannon
bc42adb2ce removes notifying all content/media of content type changes since nucache model creation is lazy now 2019-09-16 14:31:27 +10:00
Shannon
a85d8f3e21 ensure that we don't CreateModel during cache notification 2019-09-16 14:25:02 +10:00
Stephan
e5634d13f1 Lazily create content and models in NuCache 2019-09-13 09:55:53 +02:00
Shannon
de03130256 Don't fully regenerate models on startup, they will be regenerated if they are not there or if the hashes don't match so let MB use it's cached models if it can. 2019-09-10 17:10:46 +10:00
Sebastiaan Janssen
5bbe1fadda Fixes #6021 - Error on save and publish for existing node after content creation in eventhandler 2019-09-05 10:31:08 +02:00
Shannon
fb38d9afe1 Merges - double linked list for children performance + updates 2019-08-19 23:22:27 +10:00
Shannon
e18f73e74c removes todo 2019-08-19 22:07:46 +10:00
Shannon
f2a22e9843 Ensure we throw an exception when a fatal Exception is caught instead of swallowing 2019-08-19 22:07:22 +10:00
Shannon
890309bc11 Fixes SetAllFastSorted and sort orders 2019-08-19 17:18:45 +10:00
Shannon
e9717ee86a changes to PanicException 2019-08-16 16:18:58 +10:00
Shannon
bbd6e1150e Changes loading from DB to use SetAllFastSorted since it's already sorted by level + sort order 2019-08-15 23:59:46 +10:00
Shannon
3d56e45266 Adds notes, cleans up other code 2019-08-15 19:25:28 +10:00
Shannon
e9d4b607bb Adds POC for fast building of in-memory nucache from persisted files 2019-08-15 19:05:43 +10:00
Shannon
16d8f8846e Adds PanicException with details instead of throwing "panic" strings 2019-07-30 22:40:15 +10:00
Warren Buckley
bb8356d7db Merge pull request #5924 from umbraco/v/bugfix/5035-slot-swap2
Fixes race condition in PublishedSnapshotService and more...
2019-07-23 09:18:44 +01:00
Shannon
02f49a0039 Cherry picks fix for 5894 and makes adjustments 2019-07-19 16:00:42 +10:00
Shannon
3603090421 Fixes race condition in PublishedSnapshotService and more... 2019-07-17 22:51:14 +10:00
Shannon Deminick
31716e574c Update src/Umbraco.Web/PublishedCache/NuCache/ContentStore.cs
good catch!

Co-Authored-By: Bjarke Berg <mail@bergmania.dk>
2019-07-03 18:34:11 +10:00
Shannon
126c4cbd46 ensures media is rebuild and adds more notes 2019-07-03 18:25:19 +10:00
Shannon
7cc91f71c2 Fixes pure live mode when changing doc types 2019-07-03 18:11:00 +10:00
Shannon
7c52b9602c Reduce some allocations and in advertent SQL calls along with inadvertent enumeration of the entire cache, adds some notes 2019-07-03 17:43:30 +10:00
Stephan
7a178be031 Fix getting content AtRoot 2019-06-27 13:29:35 +02:00