This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a commit to branch jenkins-optimize-uuids-generations
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to
refs/heads/jenkins-optimize-uuids-generations by this push:
new b582acd0e ci test run test2
b582acd0e is described below
commit b582acd0e72a0204bb1aed3240eb3f92eb172d79
Author: Nick Vatamaniuc <[email protected]>
AuthorDate: Tue Oct 14 01:24:04 2025 -0400
ci test run test2
---
rel/overlay/etc/default.ini | 5 ++++-
src/mango/test/04-key-tests.py | 7 +++++--
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/rel/overlay/etc/default.ini b/rel/overlay/etc/default.ini
index ccc324e9f..3522050e8 100644
--- a/rel/overlay/etc/default.ini
+++ b/rel/overlay/etc/default.ini
@@ -618,7 +618,10 @@ partitioned||* = true
; First 14 characters are the time in hex. Last 18 are random.
; utc_id - Time since Jan 1, 1970 UTC with microseconds, plus utc_id_suffix
string
; First 14 characters are the time in hex. uuids/utc_id_suffix string
value is appended to these.
-;algorithm = sequential
+; uuid_v7 - UUID v7 formatted as a string. For example:
"0199df37-5929-7c5c-9ba3-26bb2f16a044"
+; uuid_v7_hex - UUID v7 encoded as a hex string: For example:
"0199df3833cc79c89bdde9530efc4f0c"
+; uuid_v7_base36 - UUID v7 encoded as a base36 string: For example:
"3eue8l79ra9mp5ymmki4watw"
+;algorithm = uuid_v7_hex
; The utc_id_suffix value will be appended to uuids generated by the utc_id
algorithm.
; Replicating instances should have unique utc_id_suffix values to ensure
uniqueness of utc_id ids.
diff --git a/src/mango/test/04-key-tests.py b/src/mango/test/04-key-tests.py
index 998f17ee5..1934d4266 100644
--- a/src/mango/test/04-key-tests.py
+++ b/src/mango/test/04-key-tests.py
@@ -15,8 +15,9 @@ import mango
import unittest
TEST_DOCS = [
- {"type": "complex_key", "title": "normal key"},
+ {"_id": "100", "type": "complex_key", "title": "normal key"},
{
+ "_id": "200",
"type": "complex_key",
"title": "key with dot",
"dot.key": "dot's value",
@@ -24,14 +25,16 @@ TEST_DOCS = [
"name.first": "Kvothe",
},
{
+ "_id": "300",
"type": "complex_key",
"title": "key with peso",
"$key": "peso",
"deep": {"$key": "deep peso"},
"name": {"first": "Master Elodin"},
},
- {"type": "complex_key", "title": "unicode key", "": "apple"},
+ {"_id": "400", "type": "complex_key", "title": "unicode key", "":
"apple"},
{
+ "_id": "500",
"title": "internal_fields_format",
"utf8-1[]:string": "string",
"utf8-2[]:boolean[]": True,