You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e27edef
Browse filesBrowse the repository at this point in the historyBrowse files
Fix unrunnable commands and product wording in the two newest posts (#260)
The collation tutorial's docker run had literal \n instead of line breaks, and
it needs v1.3, which is unreleased: on the published 1.2 image step 2 fails on
documentdb.enable_collation_with_create_collection. Say so and add a version
check. The pgAudit post named a Microsoft Purview sink it never explains.
Signed-off-by: Guanzhou Song <26541184+GuanzhouSong@users.noreply.github.com>
Co-authored-by: Guanzhou Song <26541184+GuanzhouSong@users.noreply.github.com>
Copy file name to clipboardExpand all lines: blogs/_posts/2026-11-13-collated-collections-and-indexes.md
+14-2Lines changed: 14 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,8 @@ Should a query for `"a"` also match `"A"`? By using collation, you can make that
17
17
18
18
DocumentDB OSS beginning **v1.3 supports creating unsharded collections with collation**. Collation uses Unicode (ICU) rules for locale-aware string comparisons, including case- and accent-insensitive matching. Supported collated indexes can serve queries whose collation matches the index.
19
19
20
+
> **v1.3 isn't released yet.** The newest published image is v1.2, which lacks the `documentdb.enable_collation_with_create_collection` flag, so step 2 fails on it. Until v1.3 ships, you need an image built from the [`main` branch](https://github.com/documentdb/documentdb); the [changelog](https://github.com/documentdb/documentdb/blob/main/CHANGELOG.md) shows when it's released.
21
+
20
22
This walkthrough enables the required feature flags, creates a collection and a non-unique index, and demonstrates a case-insensitive query. It is based on [the original example and feature-flag notes](https://gist.github.com/xgerman/0d84036a676927a9382785cbffc857af).
21
23
22
24
## Choose how strings compare
@@ -30,14 +32,24 @@ Use `{ locale: "en", strength: 2 }`, so `"a"` and `"A"` compare equal, as do `"b
30
32
31
33
## 1. Start a local container
32
34
33
-
You need Docker and a **DocumentDB OSS v1.3 image**. The following command uses `latest`, a moving tag; ensure the image includes v1.3 before proceeding.
35
+
You need Docker and a **DocumentDB OSS v1.3 image**. The following command uses `latest`, a moving tag that points to v1.2 until v1.3 is released.
Allow the gateway to finish starting before connecting. The published port is bound to localhost, and the credentials are for this disposable local example only.
40
45
46
+
Check the version before you continue; it must be `1.3-0` or later:
Copy file name to clipboardExpand all lines: blogs/_posts/2026-11-13-documentdb-audit-logging-with-pgaudit.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -252,9 +252,9 @@ For conventional actor-based auditing of writes and collection DDL:
252
252
4. Leave global auditing disabled and enable `write, ddl` on each audited role.
253
253
5. Keep SQL statement and parameter logging disabled; enable relation and row-count logging.
254
254
6. Reconnect clients and verify the resulting records with a representative workload.
255
-
7. Send logs to a durable, access-controlled Microsoft Purview Audit sink.
255
+
7. Send logs to a durable, access-controlled audit-log destination.
256
256
8. Retain catalog mapping history if consumers require logical collection names.
257
257
258
-
For authoritative commit outcomes, document reconstruction, or recovery after ordinary Audit logs are lost, complement this approach with [WAL-based forensic analysis](https://github.com/xgerman/documentdb-wal-audit) and an appropriate WAL-retention strategy.
258
+
For authoritative commit outcomes, document reconstruction, or recovery after ordinary audit logs are lost, complement this approach with [WAL-based forensic analysis](https://github.com/xgerman/documentdb-wal-audit) and an appropriate WAL-retention strategy.
259
259
260
260
The useful distinction is simple: **pgAudit records actor-attributed PostgreSQL activity; WAL-based analysis addresses what committed and what can be reconstructed.** Choose the evidence your audit requirements actually need.
// A literal \n in Markdown is two characters, not a line break; the pasted command fails.
54
+
it.each(sources().filter((file)=>file.endsWith('.md')).map((file)=>[path.relative(root,file),file]))('%s has no literal \\n in a run command',(_name,file)=>{
0 commit comments