Commit Graph

639 Commits

Author SHA1 Message Date
Shannon
053a56a45b Removes the callbacks from DatabaseServerMessenger, moves logic for cold boot into the components responsible for what needs to happen in cold boot. This is still not ideal but we are stuck with backwards compat. In netcore the initialization will be fixed up (if not already). Ensure examine rebuilds don't occur until the first http request is done instead of on a timer which could be problematic with cold boots. 2021-04-26 18:07:23 +10:00
Shannon Deminick
dccec91073 Merge pull request #9859 from nzdev/v8/bugfix/fix-cold-boot
Reduce cold boot times by loading content and media only once on cold boot
2021-04-26 15:52:41 +10:00
nzdev
306c82f871 Change log to Info 2021-04-23 17:03:32 +12:00
nzdev
5f9d126ab7 fix support for non run states 2021-03-26 16:13:47 +13:00
Chad
b8540ca128 Improve speed and reduce allocations by implementing logger overloads to avoid params [] allocation (#8917)
* Implement logger overloads to avoid params [] allocation

* Implement console logger ILogger

* Call correct signature

* Fix exceptions

* Introduce ILogger2

* fix logger reference

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-02-22 08:22:49 +10:00
Chad
75ee3b9622 Speed up boot times and Improve Json (De)Serialization performance and reduce memory usage by reusing JsonSerializerSettings (#9670) 2021-02-21 11:00:00 +01:00
nzdev
7d135899be load only once 2021-02-21 20:45:03 +13:00
Chad
0bd4dced0b Improve performance and reduce memory use and reduce array allocations by reusing char[] (#9166)
* Reduce array allocations by reusing char[]

* don't hide .Equals()

* Reduce memory use by reducing array allocations

* Revert "Reduce memory use by reducing array allocations"

This reverts commit faf6b60234167f5443435243eb52187ab07d514c.

* reuse char[] for string.split() to avoid params [] allocation
2021-01-22 12:02:25 +10:00
nzdev
32788a0a42 reduce array allocations 2020-11-23 10:36:46 +01:00
Sebastiaan Janssen
b5546d074a Merge branch 'v8/contrib' into v8/dev 2020-11-23 10:19:14 +01:00
Shannon
c2d9f5aa4e Ensure that TaskScheduler.Default is used anywhere that ContinueWith is used, adds more debug logging to MainDom operations 2020-11-18 12:33:13 +11:00
Ronald Barendse
2bfef74191 Fix casing of 'URL' (#9080) 2020-10-05 20:48:38 +02:00
Shannon
c4e7929e68 Converts umbProperty to a component, gets nested valPropertyMsg validators clearing (as a prototype), need to check TODOs, test inline editing, etc... 2020-07-07 12:50:15 +10:00
Shannon
a5adb322f1 Updates the caching layer to handle GUID keys for content types while preserving backwards compat, fixes unit tests, removes the strongly typed lists for the block editor value since it's unecessary 2020-06-10 16:12:00 +10:00
Chad
a4274ba767 Shorter JSON property names for nucache (#8204) 2020-06-02 11:35:19 +02:00
Bjarke Berg
5b7f1227f9 Bugfix for issue with hanging saves. + Fix for double post of save templates 2020-05-22 10:46:13 +02:00
Shannon
279329d682 removes code that shouldn't have been committed. 2020-04-29 10:32:05 +10:00
Shannon
e62fef8faf Ensures entire nucache linked list is not rebuild on schema changes when disabled 2020-04-20 23:22:03 +10:00
Shannon
8927472457 Merge remote-tracking branch 'origin/v8/dev' into v8/bugfix/models-builder-enable-flag 2020-04-20 22:45:50 +10:00
Shannon
44df0dda2b adding an event 2020-04-20 22:45:12 +10:00
Bjarke Berg
c3136943e3 Merge pull request #7970 from umbraco/v8/bugfix/nucache-db-paging
In Nucache when we are loading in all data that we page over the data as to not cause an SQL timeout
2020-04-20 11:10:14 +02:00
Shannon
d1524cdafe Merge branch 'v8/dev' into v8/bugfix/7868-nucache-null-parent
# Conflicts:
#	src/Umbraco.Web/PublishedCache/NuCache/ContentStore.cs
2020-04-17 15:04:10 +10:00
Shannon
49da58b23c adds notes 2020-04-17 14:56:49 +10:00
Shannon
2509dc3749 runs in parallel the call to rebuild the in-memory cache from the db sources when in pure live mode and content types change 2020-04-17 14:46:45 +10:00
Shannon
5d8bfcea97 Ensure when we are loading in ALL data that we page over the data as to not cause an SQL timeout 2020-04-17 12:46:36 +10:00
Bjarke Berg
d2f361e816 Merge remote-tracking branch 'origin/v8/8.6' into v8/dev
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Tests/PublishedContent/NuCacheChildrenTests.cs
2020-04-16 18:54:45 +02:00
Sebastiaan Janssen
41f98a41fb Added fix from #7832 since the test was somehow cherry picked into 8.6.1 already 2020-04-16 14:58:56 +02:00
Shannon Deminick
4a071f6e05 Nucache NullReferenceException when copying (#7961)
(cherry picked from commit b30db05cc7)

# Conflicts:
#	src/Umbraco.Tests/PublishedContent/NuCacheChildrenTests.cs
2020-04-15 20:55:11 +02:00
Shannon
36c9cd47a1 Adds notes 2020-04-08 11:22:15 +10:00
Shannon
18d9ad3c73 udpates health check and service methods to be flexible for data integrity checks, fixes tests 2020-04-07 16:42:21 +10:00
Shannon
50e9f79ae6 Adds a null check if things are out of order when building up the tree/linked list 2020-04-06 23:10:52 +10:00
Shannon
c9c8693560 removes one null check, adds notes 2020-04-01 13:13:15 +11:00
Shannon
f1b398fab6 Adds some null checks, need to see if tests pass 2020-04-01 11:06:21 +11:00
Olivier Bossaer
ff2027df07 Fixes #7798 : Invalid implementation of IEnumerable in Content Cache 2020-03-23 13:27:04 +01:00
Daniël Knippers
3eb4c642c3 Added GetSegment() method to VariationContext and uses it when contentId is available 2020-03-09 17:07:56 +01:00
Poornima Nayar
a9bb1ff49e Merge pull request #7021 from stevemegson/v8/pr/member-cmsContentNu
OnMemberRefreshedEntity stores data as published rather than edited
2020-02-17 15:26:48 +00:00
Steve Temple
b95d674092 Tidy up formatting 2020-01-31 09:50:37 +00:00
Steve Temple
377f1925ea Obsolete CreatorName and WriterName on IPublishedContent 2020-01-31 09:34:08 +00:00
Lars-Erik Aabech
af7f03e1f7 Don't downcast IPublishedSnapshot unnecessarily in PublishedContent 2020-01-28 22:28:54 +01:00
Bjarke Berg
fd11ef6ed1 Merge pull request #7306 from umbraco/v8/bugfix/AB3323-SqlMainDom
Introduce a new IMainDomLock and both default and sql implementations
2020-01-23 12:44:11 +01:00
Bjarke Berg
db27090ac0 Merge pull request #7233 from umbraco/v8/bugfix/6758-nucache-fix
When nucache updates are made the previous Gen root node is cleared
2020-01-22 11:13:43 +01:00
Bjarke Berg
b84961bcbc Merge remote-tracking branch 'origin/v8/dev' into v8/bugfix/AB3323-SqlMainDom
# Conflicts:
#	src/Umbraco.Core/Migrations/Upgrade/UmbracoPlan.cs
#	src/Umbraco.Web/PublishedCache/NuCache/PublishedSnapshotService.cs
2020-01-22 07:06:43 +01:00
Bjarke Berg
6d92f5915a Merge remote-tracking branch 'origin/v8/8.5' into v8/dev
# Conflicts:
#	src/SolutionInfo.cs
2020-01-15 13:44:42 +01:00
Shannon
3e71de4698 ensure locks the data types 2020-01-13 22:28:25 +11:00
Shannon
d26334ad39 Fixes the issue of manipulating data for an existing Gen, adds notes, makes the Gen comparison operator consistent. 2020-01-13 17:16:55 +11:00
Shannon
95337d5a70 Cleans up old notes 2020-01-06 21:39:26 +11:00
Shannon
94d05b1768 Fixes #7404 - Deadlock issue 2020-01-06 21:14:46 +11:00
Shannon
c2ac5e8531 Fixes a couple more issues with recursive locks 2020-01-06 18:34:04 +11:00
Shannon
243e76b3cc Removes ability to have recursive locks in SnapDictionary, changes logic to require locking around the methods just like ContentStore, updates tests 2020-01-03 15:04:39 +11:00
Shannon
8e3b3c8326 Changes methods that should already be locked to check that they are and changes their names/adds docs 2020-01-03 13:21:49 +11:00