microsoft / microsoft/DacFx

DacDeployOptions not using "IgnorePartitionSchemes" setting

Open
#114 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
460
Forks
29
Avg merge
4d 9h
Merged PRs (30d)
7

Description

When trying to deploy a database with the following DacDeployOptions set:

![image](https://user-images.githubusercontent.com/41800303/175328166-bdcd8d12-30c4-4adb-905c-4bb26ff9817d.png)

The partition functions & schemes are not ignored and get created in the resulting db.

I'm not sure where the source code for the Microsoft.SqlServer.Dac.dll is, but when decompiling I can't see any reference to that option being used in DacServices.Deploy:

![image](https://user-images.githubusercontent.com/41800303/175328806-ecb564e0-699f-4d20-b0c4-1d7778951da4.png)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing a database deployment using DacDeployOptions with IgnorePartitionSchemes enabled, then inspect the DacServices.Deploy path referenced in the issue. Confirm whether partition functions and schemes are still created and identify the relevant DacFx source or tests; done means the setting is honored during deployment.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, sql
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.