Skip to content

Commit 3972205

Browse files
committed
Remove MMFiles only feature isVolatile
1 parent 25dcc28 commit 3972205

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

arango/database.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,6 @@ def create_collection(self,
952952
system=False,
953953
journal_size=None,
954954
edge=False,
955-
volatile=False,
956955
user_keys=True,
957956
key_increment=None,
958957
key_offset=None,
@@ -984,11 +983,6 @@ def create_collection(self,
984983
:type journal_size: int
985984
:param edge: If set to True, an edge collection is created.
986985
:type edge: bool
987-
:param volatile: If set to True, collection data is kept in-memory only
988-
and not made persistent. Unloading the collection will cause the
989-
collection data to be discarded. Stopping or re-starting the server
990-
will also cause full loss of data.
991-
:type volatile: bool
992986
:param key_generator: Used for generating document keys. Allowed values
993987
are "traditional" or "autoincrement".
994988
:type key_generator: str | unicode
@@ -1072,7 +1066,6 @@ def create_collection(self,
10721066
'waitForSync': sync,
10731067
'doCompact': compact,
10741068
'isSystem': system,
1075-
'isVolatile': volatile,
10761069
'keyOptions': key_options,
10771070
'type': 3 if edge else 2
10781071
}

tests/test_collection.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ def test_collection_management(db, bad_db, cluster):
154154
compact=False,
155155
journal_size=7774208,
156156
system=False,
157-
volatile=False,
158157
key_generator='traditional',
159158
user_keys=False,
160159
key_increment=9,

0 commit comments

Comments
 (0)