Commit Graph

155 Commits

Author SHA1 Message Date
Bjarke Berg
da5351dfcf Fix issue with SqlMainDomLock that cannot use implicit lock timeouts … (#9973) 2021-03-12 09:23:32 +01:00
Shannon
c5642fa513 change logging to profile loggin 2021-01-18 15:33:14 +11:00
Rasmus John Pedersen
5efc1817d6 Add unattended upgrade support 2021-01-15 09:17:37 +01:00
Sebastiaan Janssen
967485f4e1 Merge branch 'v8/contrib' into v8/dev
# Conflicts:
#	src/Umbraco.Core/Runtime/SqlMainDomLock.cs
2021-01-08 15:18:03 +01:00
Shannon
fce13e23e9 Fixes test, adds null checks 2021-01-07 17:51:03 +11:00
Shannon
083b5d2611 Fixes issue with SqlMainDomLock during install, obsolete InstallEmptyDatabase, ensures installation can occur with/without the umbraco version 2021-01-05 16:27:42 +11:00
Shannon
bbe2941d25 New ext methods to check if Umbraco db is installed, fixes issue with SqlMainDomLock when doing unattended installs, changes how we determine if Umbraco db is installed 2020-12-16 12:06:48 +11:00
Sebastiaan Janssen
5ff101d31c Merge branch 'v8/8.9' into v8/8.10
# Conflicts:
#	src/Umbraco.Core/Runtime/SqlMainDomLock.cs
2020-12-14 15:12:28 +01:00
Sebastiaan Janssen
a141467bae Merge branch 'v8/8.6' into v8/8.7 2020-12-14 15:04:38 +01:00
Shannon
3927a8db67 Ensure we capture exceptions that occur when trying to create a transaction 2020-12-14 12:04:19 +11:00
Rasmus John Pedersen
db634f7c28 Add unattended install support 2020-12-08 10:38:32 +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
Shannon
c8488b6683 Merge branch 'v8/8.6' into v8/8.7
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Core/Runtime/SqlMainDomLock.cs
#	src/Umbraco.Web.UI.Client/src/common/directives/components/application/umbtour.directive.js
#	src/Umbraco.Web.UI.Client/src/common/services/clipboard.service.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/nestedcontent/nestedcontent.controller.js
2020-07-20 16:08:07 +10:00
Shannon
639c7a40ee Merge branch 'v8/8.6' into v8/dev
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Core/Runtime/SqlMainDomLock.cs
#	src/Umbraco.Examine/IndexRebuilder.cs
#	src/Umbraco.Web.UI.Client/src/common/directives/components/application/umbtour.directive.js
#	src/Umbraco.Web.UI.Client/src/common/services/clipboard.service.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/nestedcontent/nestedcontent.controller.js
2020-07-20 16:03:10 +10:00
Shannon
b80dc8f34b readability 2020-07-08 15:07:12 +10:00
Shannon
7590161858 comments 2020-07-08 14:54:26 +10:00
Shannon
7819d1acf5 comments 2020-07-08 14:53:53 +10:00
Shannon
a947fa3121 comments 2020-07-08 14:51:35 +10:00
Shannon
651756d96a Ensure we don't shutdown MainDom if there is an error while listening, only shutdown if the appdomain is triggered to shutdown, else we'll keep listening/logging 2020-07-08 13:43:20 +10:00
Shannon
65101beaf6 transactions for sqlmaindom 2020-07-08 13:43:20 +10:00
Shannon
6aa49242f2 Don't try to reuse db instances, thsi can result in potential zombie transactions 2020-07-08 13:43:20 +10:00
Sebastiaan Janssen
a88a5a0cae Merge pull request #7984 from umbraco/v8/bugfix/7967-sqlmaindom
Fixes #7967 - cannot start site with SqlMainDomLock  when db isn't configured

(cherry picked from commit cbfe643a79)
2020-07-02 10:38:10 +02:00
Shannon
af29b8da68 Cherry pick #8058 to fix #8038 2020-05-04 20:59:22 +10:00
Shannon
2dd938bf29 Change to re-use the MainDomId of the normal maindom 2020-05-04 19:12:20 +10:00
Shannon
0717d5b246 Fixes: SqlMainDom setting for Azure does not work in Load Balancing #8038 2020-05-04 18:57:55 +10:00
Shannon
008df6018c Fixes: SqlMainDomLock when configured via appSettings cannot be used unless umbraco is installed #7967 2020-04-21 00:02:59 +10:00
Jeavon
5efeb53805 Add missing methods "GetChildren(Guid id)" & "HasChildren(Guid id)" to "IContentTypeBaseService" (#7700) 2020-02-24 11:11:33 +00:00
Shannon
52b93bfc9c ensures only _sqlServerSyntax is used 2020-01-23 18:33:55 +11:00
Shannon
8d7ed7dd32 adds const fixing naming 2020-01-23 16:26:13 +11:00
Shannon
201927580c Fixing accidental api signature breaking change 2020-01-23 16:23:27 +11:00
Bjarke Berg
1dfdfba236 Merge remote-tracking branch 'origin/v8/dev' into v8/bugfix/AB3323-SqlMainDom 2020-01-22 09:39:06 +01:00
Shannon
b02360518d Changed to GetAwaiter/GetResult and updates comment 2020-01-13 22:25:46 +11:00
Shannon
95337d5a70 Cleans up old notes 2020-01-06 21:39:26 +11:00
Shannon
7a129f890d Changes MainDom testing timeout to be larger... but not 1.5 mins! 2020-01-03 15:07:21 +11:00
Shannon
a46e9124d2 First commit in fixing deadlock - committing my notes, etc... 2020-01-03 10:38:48 +11:00
Shannon
b24a87d986 Changes logging to debug 2019-12-30 18:51:38 +11:00
Shannon
5476388e78 adds lock else we end up detecting when not needed 2019-12-30 18:49:33 +11:00
Shannon
0d1101eaa7 adds notes/logging 2019-12-30 18:14:18 +11:00
Shannon
7501629c54 Adds logging to SqlMainDomLock 2019-12-30 17:15:57 +11:00
Shannon
74cc148b99 Merge remote-tracking branch 'origin/v8/dev' into v8/bugfix/AB3323-SqlMainDom 2019-12-23 18:21:03 +11:00
Shannon
a1769dd937 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/media-tracking
# Conflicts:
#	src/Umbraco.Core/Migrations/Upgrade/UmbracoPlan.cs
#	src/Umbraco.Core/Models/RelationType.cs
#	src/Umbraco.Web/PropertyEditors/NestedContentPropertyEditor.cs
#	src/Umbraco.Web/UmbracoComponentRenderer.cs
2019-12-18 15:28:27 +11:00
Shannon
0d0f8e6beb adds debug timing 2019-12-18 11:08:15 +11:00
Shannon Deminick
62c701d5c3 Merge pull request #6630 from ronaldbarendse/v8/bugfix/6624-enable-disablecomposer-from-all-assemblies
Get EnableComposer and DisableComposer attributes from all assemblies
2019-12-17 06:56:34 +01:00
Ronald Barendse
507db27337 Removed unnecessary WithCollectionBuilder call 2019-12-12 14:38:16 +01:00
Shannon
0ef08db765 adds error logging and ensure we don't throw exceptions on a background task which would destroy the app domain 2019-12-11 08:55:07 +01:00
Shannon
a63de7672b updates a bool check 2019-12-10 15:53:57 +01:00
Shannon
aae8dbdc15 Updates to allow the sql main dom lock to be able to wait until the previous maindom has fully unwound before it can be taken over. 2019-12-10 15:44:47 +01:00
Shannon
e919af14d3 adds comments 2019-12-10 13:50:10 +01:00
Shannon
1513a12549 Introduce a new IMainDomLock and both default and sql implementations 2019-12-10 13:33:59 +01:00
Warren Buckley
9e1a56eba5 Rename from DataValueReferenceFor to DataValyeReferenceFactory & Factories for the plural collection 2019-12-04 16:14:33 +00:00