Skip to content

Commit 1de3f24

Browse files
committed
Remove MMFiles only feature doCompact
1 parent 9b461d2 commit 1de3f24

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

arango/database.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,6 @@ def response_handler(resp):
948948
def create_collection(self,
949949
name,
950950
sync=False,
951-
compact=True,
952951
system=False,
953952
journal_size=None,
954953
edge=False,
@@ -972,9 +971,6 @@ def create_collection(self,
972971
:param sync: If set to True, document operations via the collection
973972
will block until synchronized to disk by default.
974973
:type sync: bool
975-
:param compact: If set to True, the collection is compacted. Applies
976-
only to MMFiles storage engine.
977-
:type compact: bool
978974
:param system: If set to True, a system collection is created. The
979975
collection name must have leading underscore "_" character.
980976
:type system: bool
@@ -1055,7 +1051,6 @@ def create_collection(self,
10551051
data = {
10561052
'name': name,
10571053
'waitForSync': sync,
1058-
'doCompact': compact,
10591054
'isSystem': system,
10601055
'keyOptions': key_options,
10611056
'type': 3 if edge else 2

tests/test_collection.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ def test_collection_management(db, bad_db, cluster):
151151
col = db.create_collection(
152152
name=col_name,
153153
sync=True,
154-
compact=False,
155154
journal_size=7774208,
156155
system=False,
157156
key_generator='traditional',

0 commit comments

Comments
 (0)