microsoft / microsoft/sqlmanagementobjects
LogReuseWaitStatus enum is incomplete
まだ誰も着手していません。
- 主要言語
- C#
- スター
- 143
- フォーク
- 28
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
LogReuseWaitStatus lists 10 valid statuses. This matches the documentation however both of these are incomplete and should include all possible values. Note the below example (from dbatools' Get-DbaDatabase) where this enum is surfaced but shows inconsistent values due to the incomplete enum.


Using the sys.databases documentation as a reference, types 10 through 17 are missing; although how the "Internal Use Only" types are exposed is perhaps not for me to suggest
| log_reuse_wait | log_reuse_wait_desc |
|---|---|
| 10 | For internal use only |
| 11 | For internal use only |
| 12 | For internal use only |
| 13 | Oldest page |
| 14 | Other |
| 16 | XTP_CHECKPOINT |
| 17 | sLog scanning |
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
src/Microsoft/SqlServer/Management/SqlEnum/enumstructs.cs の、2194~2216 行付近にある LogReuseWaitStatus の定義から始め、sys.databases のドキュメントと比較してください。内部使用の値をどのように表現すべきかを判断し、そのうえで enum がドキュメントに記載された log_reuse_wait の値を網羅し、一貫した説明を公開することを確認してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp, sql
- 領域
- database
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100