Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
jio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
18
Merge Requests
18
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
jio
Commits
d516a800
Commit
d516a800
authored
Oct 16, 2018
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wip replocate log
parent
77373ae2
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
231 additions
and
73 deletions
+231
-73
src/jio.storage/replicatestorage.js
src/jio.storage/replicatestorage.js
+84
-73
test/jio.storage/replicatestorage_fastrepair.tests.js
test/jio.storage/replicatestorage_fastrepair.tests.js
+35
-0
test/jio.storage/replicatestorage_fastrepairattachment.tests.js
...io.storage/replicatestorage_fastrepairattachment.tests.js
+35
-0
test/jio.storage/replicatestorage_repair.tests.js
test/jio.storage/replicatestorage_repair.tests.js
+40
-0
test/jio.storage/replicatestorage_repairattachment.tests.js
test/jio.storage/replicatestorage_repairattachment.tests.js
+37
-0
No files found.
src/jio.storage/replicatestorage.js
View file @
d516a800
...
...
@@ -77,64 +77,13 @@
LOG_NO_CHANGE
=
384
,
LOG_NO_CHANGE_ATTACHMENT
=
385
;
function
ReplicateReport
()
{
function
ReplicateReport
(
log_level
,
log_console
)
{
this
.
_list
=
[];
this
.
name
=
'
ReplicateReport
'
;
this
.
message
=
this
.
name
;
this
.
has_error
=
false
;
}
function
logConsole
(
code
,
a
,
b
,
c
)
{
var
txt
,
parsed_code
=
code
,
log
;
// Check severity level
if
(
parsed_code
>=
300
)
{
txt
=
'
SKIP
'
;
log
=
console
.
info
;
}
else
if
(
parsed_code
>=
200
)
{
txt
=
'
SOLVE
'
;
log
=
console
.
log
;
}
else
if
(
parsed_code
>=
100
)
{
txt
=
'
FORCE
'
;
log
=
console
.
warn
;
}
else
{
txt
=
'
ERROR
'
;
log
=
console
.
error
;
}
// Check operation
parsed_code
=
code
%
100
;
if
(
parsed_code
>=
80
)
{
txt
+=
'
idem
'
;
}
else
if
(
parsed_code
>=
70
)
{
txt
+=
'
conflict
'
;
}
else
if
(
parsed_code
>=
60
)
{
txt
+=
'
deleted
'
;
}
else
if
(
parsed_code
>=
50
)
{
txt
+=
'
modified
'
;
}
else
if
(
parsed_code
>=
40
)
{
txt
+=
'
created
'
;
}
else
if
(
parsed_code
>=
30
)
{
txt
+=
'
delete
'
;
}
else
if
(
parsed_code
>=
20
)
{
txt
+=
'
post
'
;
}
else
if
(
parsed_code
>=
10
)
{
txt
+=
'
put
'
;
}
// Check document
parsed_code
=
code
%
10
;
if
(
parsed_code
>=
8
)
{
txt
+=
'
local
'
;
}
else
if
(
parsed_code
>=
6
)
{
txt
+=
'
remote
'
;
}
if
(
parsed_code
!==
0
)
{
txt
+=
(
parsed_code
%
2
===
0
)
?
'
document
'
:
'
attachment
'
;
}
log
(
code
,
txt
,
a
,
b
,
c
);
this
.
_log_level
=
log_level
;
this
.
_log_console
=
log_console
;
}
ReplicateReport
.
prototype
=
{
...
...
@@ -183,6 +132,62 @@
LOG_NO_CHANGE
:
LOG_NO_CHANGE
,
LOG_NO_CHANGE_ATTACHMENT
:
LOG_NO_CHANGE_ATTACHMENT
,
logConsole
:
function
(
code
,
a
,
b
,
c
)
{
if
(
!
this
.
_log_console
)
{
return
;
}
var
txt
,
parsed_code
=
code
,
log
;
// Check severity level
if
(
parsed_code
>=
300
)
{
txt
=
'
SKIP
'
;
log
=
console
.
info
;
}
else
if
(
parsed_code
>=
200
)
{
txt
=
'
SOLVE
'
;
log
=
console
.
log
;
}
else
if
(
parsed_code
>=
100
)
{
txt
=
'
FORCE
'
;
log
=
console
.
warn
;
}
else
{
txt
=
'
ERROR
'
;
log
=
console
.
error
;
}
// Check operation
parsed_code
=
code
%
100
;
if
(
parsed_code
>=
80
)
{
txt
+=
'
idem
'
;
}
else
if
(
parsed_code
>=
70
)
{
txt
+=
'
conflict
'
;
}
else
if
(
parsed_code
>=
60
)
{
txt
+=
'
deleted
'
;
}
else
if
(
parsed_code
>=
50
)
{
txt
+=
'
modified
'
;
}
else
if
(
parsed_code
>=
40
)
{
txt
+=
'
created
'
;
}
else
if
(
parsed_code
>=
30
)
{
txt
+=
'
delete
'
;
}
else
if
(
parsed_code
>=
20
)
{
txt
+=
'
post
'
;
}
else
if
(
parsed_code
>=
10
)
{
txt
+=
'
put
'
;
}
// Check document
parsed_code
=
code
%
10
;
if
(
parsed_code
>=
8
)
{
txt
+=
'
local
'
;
}
else
if
(
parsed_code
>=
6
)
{
txt
+=
'
remote
'
;
}
if
(
parsed_code
!==
0
)
{
txt
+=
(
parsed_code
%
2
===
0
)
?
'
document
'
:
'
attachment
'
;
}
log
(
code
,
txt
,
a
,
b
,
c
);
},
log
:
function
(
id
,
type
,
extra
)
{
if
(
type
===
undefined
)
{
if
(
extra
===
undefined
)
{
...
...
@@ -190,15 +195,17 @@
}
type
=
LOG_UNEXPECTED_ERROR
;
}
if
(
extra
===
undefined
)
{
logConsole
(
type
,
id
);
this
.
_list
.
push
([
type
,
id
]);
}
else
{
logConsole
(
type
,
id
,
extra
);
this
.
_list
.
push
([
type
,
id
,
extra
]);
}
if
(
type
<
100
)
{
this
.
has_error
=
true
;
if
(
type
<
this
.
_log_level
)
{
if
(
extra
===
undefined
)
{
this
.
logConsole
(
type
,
id
);
this
.
_list
.
push
([
type
,
id
]);
}
else
{
this
.
logConsole
(
type
,
id
,
extra
);
this
.
_list
.
push
([
type
,
id
,
extra
]);
}
if
(
type
<
100
)
{
this
.
has_error
=
true
;
}
}
},
...
...
@@ -209,15 +216,17 @@
}
type
=
LOG_UNEXPECTED_ERROR
;
}
if
(
extra
===
undefined
)
{
logConsole
(
type
,
id
,
name
);
this
.
_list
.
push
([
type
,
id
,
name
]);
}
else
{
logConsole
(
type
,
id
,
name
,
extra
);
this
.
_list
.
push
([
type
,
id
,
name
,
extra
]);
}
if
(
type
<
100
)
{
this
.
has_error
=
true
;
if
(
type
<
this
.
_log_level
)
{
if
(
extra
===
undefined
)
{
this
.
logConsole
(
type
,
id
,
name
);
this
.
_list
.
push
([
type
,
id
,
name
]);
}
else
{
this
.
logConsole
(
type
,
id
,
name
,
extra
);
this
.
_list
.
push
([
type
,
id
,
name
,
extra
]);
}
if
(
type
<
100
)
{
this
.
has_error
=
true
;
}
}
},
...
...
@@ -253,6 +262,8 @@
function
ReplicateStorage
(
spec
)
{
this
.
_query_options
=
spec
.
query
||
{};
this
.
_log_level
=
spec
.
report_level
||
100
;
this
.
_log_console
=
spec
.
debug
||
false
;
if
(
spec
.
signature_hash_key
!==
undefined
)
{
this
.
_query_options
.
select_list
=
[
spec
.
signature_hash_key
];
}
...
...
@@ -1654,7 +1665,7 @@
skip_document_dict
=
{},
skip_deleted_document_dict
=
{},
cache
=
{},
report
=
new
ReplicateReport
();
report
=
new
ReplicateReport
(
this
.
_log_level
,
this
.
_log_console
);
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
...
...
test/jio.storage/replicatestorage_fastrepair.tests.js
View file @
d516a800
...
...
@@ -100,6 +100,7 @@
// Uses memory substorage, so that it is flushed after each run
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
local_sub_storage
:
{
type
:
"
uuid
"
,
...
...
@@ -186,6 +187,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
use_remote_post
:
true
,
signature_hash_key
:
'
foo_etag
'
,
local_sub_storage
:
{
...
...
@@ -331,6 +333,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
use_remote_post
:
true
,
signature_hash_key
:
'
foo_etag
'
,
local_sub_storage
:
{
...
...
@@ -569,6 +572,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
local_sub_storage
:
{
type
:
"
storagealldocsdynamicselect
"
,
...
...
@@ -647,6 +651,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
use_remote_post
:
1
,
signature_hash_key
:
'
foo_etag
'
,
local_sub_storage
:
{
...
...
@@ -726,6 +731,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
local_sub_storage
:
{
type
:
"
storagealldocsdynamicselect
"
,
...
...
@@ -807,6 +813,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
local_sub_storage
:
{
type
:
"
storagealldocsdynamicselect
"
,
...
...
@@ -888,6 +895,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
local_sub_storage
:
{
type
:
"
storagealldocsdynamicselect
"
,
...
...
@@ -966,6 +974,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
use_remote_post
:
1
,
signature_hash_key
:
'
foo_etag
'
,
local_sub_storage
:
{
...
...
@@ -1045,6 +1054,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
local_sub_storage
:
{
type
:
"
storagealldocsdynamicselect
"
,
...
...
@@ -1127,6 +1137,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
local_sub_storage
:
{
type
:
"
storagealldocsdynamicselect
"
,
...
...
@@ -1206,6 +1217,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
local_sub_storage
:
{
type
:
"
storagealldocsdynamicselect
"
,
...
...
@@ -1283,6 +1295,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
use_remote_post
:
1
,
signature_hash_key
:
'
foo_etag
'
,
local_sub_storage
:
{
...
...
@@ -1489,6 +1502,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
use_remote_post
:
1
,
signature_hash_key
:
'
foo_etag
'
,
local_sub_storage
:
{
...
...
@@ -1567,6 +1581,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
check_local_modification
:
false
,
signature_hash_key
:
'
foo_etag
'
,
local_sub_storage
:
{
...
...
@@ -1705,6 +1720,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
check_remote_modification
:
false
,
signature_hash_key
:
'
foo_etag
'
,
local_sub_storage
:
{
...
...
@@ -1844,6 +1860,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
local_sub_storage
:
{
type
:
"
uuid
"
,
...
...
@@ -1939,6 +1956,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
local_sub_storage
:
{
type
:
"
uuid
"
,
...
...
@@ -2034,6 +2052,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
local_sub_storage
:
{
type
:
"
uuid
"
,
...
...
@@ -2224,6 +2243,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
check_local_deletion
:
false
,
signature_hash_key
:
'
foo_etag
'
,
local_sub_storage
:
{
...
...
@@ -2425,6 +2445,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
check_remote_deletion
:
false
,
signature_hash_key
:
'
foo_etag
'
,
local_sub_storage
:
{
...
...
@@ -2698,6 +2719,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
1
,
signature_hash_key
:
'
foo_etag
'
,
local_sub_storage
:
{
...
...
@@ -2798,6 +2820,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
2
,
signature_hash_key
:
'
foo_etag
'
,
local_sub_storage
:
{
...
...
@@ -2893,6 +2916,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
3
,
signature_hash_key
:
'
foo_etag
'
,
local_sub_storage
:
{
...
...
@@ -3038,6 +3062,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
use_remote_post
:
true
,
signature_hash_key
:
'
foo_etag
'
,
local_sub_storage
:
{
...
...
@@ -3168,6 +3193,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
use_remote_post
:
true
,
check_local_modification
:
false
,
signature_hash_key
:
'
foo_etag
'
,
...
...
@@ -3299,6 +3325,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
1
,
signature_hash_key
:
'
foo_etag
'
,
local_sub_storage
:
{
...
...
@@ -3390,6 +3417,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
1
,
use_remote_post
:
true
,
signature_hash_key
:
'
foo_etag
'
,
...
...
@@ -3520,6 +3548,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
2
,
signature_hash_key
:
'
foo_etag
'
,
local_sub_storage
:
{
...
...
@@ -3615,6 +3644,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
2
,
check_local_modification
:
false
,
signature_hash_key
:
'
foo_etag
'
,
...
...
@@ -3712,6 +3742,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
3
,
signature_hash_key
:
'
foo_etag
'
,
local_sub_storage
:
{
...
...
@@ -3802,6 +3833,7 @@
// in the same local sub storage
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
local_sub_storage
:
{
type
:
"
uuid
"
,
...
...
@@ -3902,6 +3934,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
local_sub_storage
:
{
type
:
"
replicatefaststorage200defaultquery
"
...
...
@@ -3958,6 +3991,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
local_sub_storage
:
{
type
:
"
replicatefaststorage200customquery
"
...
...
@@ -4007,6 +4041,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
local_sub_storage
:
{
type
:
"
query
"
,
...
...
test/jio.storage/replicatestorage_fastrepairattachment.tests.js
View file @
d516a800
...
...
@@ -136,6 +136,7 @@
// Uses memory substorage, so that it is flushed after each run
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
check_local_attachment_creation
:
true
,
check_local_attachment_modification
:
true
,
...
...
@@ -241,6 +242,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
check_local_creation
:
false
,
check_local_attachment_creation
:
true
,
...
...
@@ -329,6 +331,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
check_local_attachment_creation
:
false
,
check_local_attachment_modification
:
true
,
...
...
@@ -422,6 +425,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
use_remote_post
:
true
,
check_local_attachment_creation
:
true
,
...
...
@@ -574,6 +578,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
check_remote_creation
:
false
,
check_local_attachment_creation
:
true
,
...
...
@@ -671,6 +676,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
check_remote_attachment_creation
:
false
,
check_remote_attachment_modification
:
true
,
...
...
@@ -831,6 +837,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
conflict_handling
:
1
,
check_local_attachment_creation
:
true
,
...
...
@@ -933,6 +940,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
conflict_handling
:
1
,
check_local_attachment_creation
:
true
,
...
...
@@ -1041,6 +1049,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
conflict_handling
:
1
,
check_local_attachment_creation
:
true
,
...
...
@@ -1137,6 +1146,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
conflict_handling
:
2
,
check_local_attachment_creation
:
true
,
...
...
@@ -1239,6 +1249,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
conflict_handling
:
2
,
check_local_attachment_creation
:
true
,
...
...
@@ -1345,6 +1356,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
conflict_handling
:
2
,
check_local_attachment_creation
:
true
,
...
...
@@ -1450,6 +1462,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
conflict_handling
:
3
,
check_local_attachment_creation
:
true
,
...
...
@@ -1735,6 +1748,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
check_local_attachment_creation
:
true
,
check_local_attachment_modification
:
false
,
...
...
@@ -1898,6 +1912,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
check_local_attachment_creation
:
true
,
check_remote_attachment_modification
:
false
,
...
...
@@ -2079,6 +2094,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
conflict_handling
:
1
,
check_local_attachment_creation
:
true
,
...
...
@@ -2192,6 +2208,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
conflict_handling
:
2
,
check_local_attachment_creation
:
true
,
...
...
@@ -2305,6 +2322,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
conflict_handling
:
3
,
check_local_attachment_creation
:
true
,
...
...
@@ -2491,6 +2509,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
check_local_attachment_creation
:
true
,
check_local_attachment_deletion
:
false
,
...
...
@@ -2664,6 +2683,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
check_local_attachment_creation
:
true
,
check_local_attachment_deletion
:
true
,
...
...
@@ -2906,6 +2926,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
conflict_handling
:
1
,
check_local_attachment_creation
:
true
,
...
...
@@ -3019,6 +3040,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
conflict_handling
:
1
,
check_local_attachment_creation
:
true
,
...
...
@@ -3123,6 +3145,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
conflict_handling
:
2
,
check_local_attachment_creation
:
true
,
...
...
@@ -3225,6 +3248,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
conflict_handling
:
3
,
check_local_attachment_creation
:
true
,
...
...
@@ -3399,6 +3423,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
conflict_handling
:
2
,
check_local_attachment_creation
:
true
,
...
...
@@ -3511,6 +3536,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
conflict_handling
:
1
,
check_local_attachment_creation
:
true
,
...
...
@@ -3613,6 +3639,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
conflict_handling
:
2
,
check_local_attachment_creation
:
true
,
...
...
@@ -3725,6 +3752,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
conflict_handling
:
3
,
check_local_attachment_creation
:
true
,
...
...
@@ -3972,6 +4000,7 @@
);
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
check_local_attachment_creation
:
true
,
local_sub_storage
:
{
...
...
@@ -4131,6 +4160,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
check_local_attachment_creation
:
true
,
parallel_operation_attachment_amount
:
2
,
...
...
@@ -4271,6 +4301,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
check_local_attachment_creation
:
true
,
parallel_operation_attachment_amount
:
4
,
...
...
@@ -4338,6 +4369,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
check_local_deletion
:
false
,
check_local_attachment_modification
:
true
,
...
...
@@ -4530,6 +4562,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
check_remote_deletion
:
false
,
check_local_attachment_modification
:
true
,
...
...
@@ -5031,6 +5064,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
check_local_deletion
:
false
,
check_local_attachment_modification
:
true
,
...
...
@@ -5226,6 +5260,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
signature_hash_key
:
'
foo_etag
'
,
check_remote_deletion
:
false
,
check_local_attachment_modification
:
true
,
...
...
test/jio.storage/replicatestorage_repair.tests.js
View file @
d516a800
...
...
@@ -44,6 +44,7 @@
// Uses memory substorage, so that it is flushed after each run
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
local_sub_storage
:
{
type
:
"
uuid
"
,
sub_storage
:
{
...
...
@@ -109,6 +110,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
check_local_creation
:
false
,
local_sub_storage
:
{
type
:
"
uuid
"
,
...
...
@@ -172,6 +174,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
use_remote_post
:
true
,
local_sub_storage
:
{
type
:
"
uuid
"
,
...
...
@@ -300,6 +303,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
use_remote_post
:
true
,
local_sub_storage
:
{
type
:
"
uuid
"
,
...
...
@@ -427,6 +431,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
check_remote_creation
:
false
,
local_sub_storage
:
{
type
:
"
uuid
"
,
...
...
@@ -520,6 +525,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
local_sub_storage
:
{
type
:
"
uuid
"
,
sub_storage
:
{
...
...
@@ -586,6 +592,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
use_remote_post
:
1
,
local_sub_storage
:
{
type
:
"
uuid
"
,
...
...
@@ -653,6 +660,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
local_sub_storage
:
{
type
:
"
query
"
,
sub_storage
:
{
...
...
@@ -721,6 +729,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
local_sub_storage
:
{
type
:
"
query
"
,
sub_storage
:
{
...
...
@@ -789,6 +798,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
local_sub_storage
:
{
type
:
"
uuid
"
,
sub_storage
:
{
...
...
@@ -855,6 +865,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
use_remote_post
:
1
,
local_sub_storage
:
{
type
:
"
uuid
"
,
...
...
@@ -922,6 +933,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
local_sub_storage
:
{
type
:
"
query
"
,
sub_storage
:
{
...
...
@@ -992,6 +1004,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
local_sub_storage
:
{
type
:
"
query
"
,
sub_storage
:
{
...
...
@@ -1058,6 +1071,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
local_sub_storage
:
{
type
:
"
uuid
"
,
sub_storage
:
{
...
...
@@ -1123,6 +1137,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
use_remote_post
:
1
,
local_sub_storage
:
{
type
:
"
uuid
"
,
...
...
@@ -1307,6 +1322,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
use_remote_post
:
true
,
local_sub_storage
:
{
type
:
"
uuid
"
,
...
...
@@ -1368,6 +1384,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
check_local_modification
:
false
,
local_sub_storage
:
{
type
:
"
uuid
"
,
...
...
@@ -1489,6 +1506,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
check_remote_modification
:
false
,
local_sub_storage
:
{
type
:
"
uuid
"
,
...
...
@@ -1604,6 +1622,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
local_sub_storage
:
{
type
:
"
uuid
"
,
sub_storage
:
{
...
...
@@ -1676,6 +1695,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
local_sub_storage
:
{
type
:
"
uuid
"
,
sub_storage
:
{
...
...
@@ -1748,6 +1768,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
local_sub_storage
:
{
type
:
"
uuid
"
,
sub_storage
:
{
...
...
@@ -1905,6 +1926,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
check_local_deletion
:
false
,
local_sub_storage
:
{
type
:
"
uuid
"
,
...
...
@@ -2090,6 +2112,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
check_remote_deletion
:
false
,
local_sub_storage
:
{
type
:
"
uuid
"
,
...
...
@@ -2338,6 +2361,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
1
,
local_sub_storage
:
{
type
:
"
uuid
"
,
...
...
@@ -2418,6 +2442,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
2
,
local_sub_storage
:
{
type
:
"
uuid
"
,
...
...
@@ -2492,6 +2517,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
3
,
local_sub_storage
:
{
type
:
"
uuid
"
,
...
...
@@ -2616,6 +2642,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
use_remote_post
:
true
,
local_sub_storage
:
{
type
:
"
uuid
"
,
...
...
@@ -2730,6 +2757,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
use_remote_post
:
true
,
check_local_modification
:
false
,
local_sub_storage
:
{
...
...
@@ -2844,6 +2872,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
1
,
local_sub_storage
:
{
type
:
"
uuid
"
,
...
...
@@ -2920,6 +2949,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
1
,
use_remote_post
:
true
,
local_sub_storage
:
{
...
...
@@ -3033,6 +3063,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
2
,
local_sub_storage
:
{
type
:
"
uuid
"
,
...
...
@@ -3114,6 +3145,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
2
,
check_local_modification
:
false
,
local_sub_storage
:
{
...
...
@@ -3197,6 +3229,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
3
,
local_sub_storage
:
{
type
:
"
uuid
"
,
...
...
@@ -3299,6 +3332,7 @@
);
})
.
fail
(
function
(
error
)
{
console
.
warn
(
error
);
ok
(
error
instanceof
jIO
.
util
.
jIOError
);
equal
(
error
.
message
,
"
Cannot find document:
"
+
"
_replicate_8662994dcefb3a2ceec61e86953efda8ec6520d6
"
);
...
...
@@ -3378,6 +3412,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
local_sub_storage
:
{
type
:
"
replicatestorage200chechrepair
"
},
...
...
@@ -3426,6 +3461,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
local_sub_storage
:
{
type
:
"
replicatestorage200defaultquery
"
},
...
...
@@ -3475,6 +3511,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
local_sub_storage
:
{
type
:
"
replicatestorage200customquery
"
},
...
...
@@ -3563,6 +3600,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
local_sub_storage
:
{
type
:
"
memory
"
},
...
...
@@ -3685,6 +3723,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
parallel_operation_amount
:
2
,
local_sub_storage
:
{
type
:
"
memory
"
...
...
@@ -3782,6 +3821,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
parallel_operation_amount
:
4
,
local_sub_storage
:
{
type
:
"
memory
"
...
...
test/jio.storage/replicatestorage_repairattachment.tests.js
View file @
d516a800
...
...
@@ -77,6 +77,7 @@
// Uses memory substorage, so that it is flushed after each run
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
check_local_attachment_creation
:
true
,
check_local_attachment_modification
:
true
,
check_local_attachment_deletion
:
true
,
...
...
@@ -157,6 +158,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
check_local_creation
:
false
,
check_local_attachment_creation
:
true
,
local_sub_storage
:
{
...
...
@@ -227,6 +229,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
check_local_attachment_creation
:
false
,
check_local_attachment_modification
:
true
,
local_sub_storage
:
{
...
...
@@ -301,6 +304,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
use_remote_post
:
true
,
check_local_attachment_creation
:
true
,
local_sub_storage
:
{
...
...
@@ -426,6 +430,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
check_remote_creation
:
false
,
check_local_attachment_creation
:
true
,
local_sub_storage
:
{
...
...
@@ -498,6 +503,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
check_remote_attachment_creation
:
false
,
check_remote_attachment_modification
:
true
,
local_sub_storage
:
{
...
...
@@ -620,6 +626,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
1
,
check_local_attachment_creation
:
true
,
check_remote_attachment_creation
:
true
,
...
...
@@ -701,6 +708,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
1
,
check_local_attachment_creation
:
true
,
check_remote_attachment_creation
:
true
,
...
...
@@ -794,6 +802,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
1
,
check_local_attachment_creation
:
true
,
check_remote_attachment_creation
:
true
,
...
...
@@ -877,6 +886,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
2
,
check_local_attachment_creation
:
true
,
check_remote_attachment_creation
:
true
,
...
...
@@ -958,6 +968,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
2
,
check_local_attachment_creation
:
true
,
check_remote_attachment_creation
:
true
,
...
...
@@ -1051,6 +1062,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
2
,
check_local_attachment_creation
:
true
,
check_remote_attachment_creation
:
true
,
...
...
@@ -1134,6 +1146,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
3
,
check_local_attachment_creation
:
true
,
check_remote_attachment_creation
:
true
,
...
...
@@ -1395,6 +1408,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
check_local_attachment_creation
:
true
,
check_local_attachment_modification
:
false
,
local_sub_storage
:
{
...
...
@@ -1538,6 +1552,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
check_local_attachment_creation
:
true
,
check_local_attachment_modification
:
true
,
check_remote_attachment_modification
:
false
,
...
...
@@ -1694,6 +1709,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
1
,
check_local_attachment_creation
:
true
,
check_remote_attachment_creation
:
true
,
...
...
@@ -1782,6 +1798,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
2
,
check_local_attachment_creation
:
true
,
check_remote_attachment_creation
:
true
,
...
...
@@ -1870,6 +1887,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
3
,
check_local_attachment_creation
:
true
,
check_remote_attachment_creation
:
true
,
...
...
@@ -2092,6 +2110,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
check_local_attachment_creation
:
true
,
check_local_attachment_deletion
:
false
,
check_local_attachment_modification
:
true
,
...
...
@@ -2247,6 +2266,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
check_local_attachment_creation
:
true
,
check_local_attachment_deletion
:
true
,
check_local_attachment_modification
:
true
,
...
...
@@ -2469,6 +2489,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
1
,
check_local_attachment_creation
:
true
,
check_local_attachment_deletion
:
true
,
...
...
@@ -2567,6 +2588,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
1
,
check_local_attachment_creation
:
true
,
check_local_attachment_deletion
:
false
,
...
...
@@ -2665,6 +2687,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
2
,
check_local_attachment_creation
:
true
,
check_local_attachment_deletion
:
true
,
...
...
@@ -2752,6 +2775,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
3
,
check_local_attachment_creation
:
true
,
check_local_attachment_deletion
:
true
,
...
...
@@ -2905,6 +2929,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
2
,
check_local_attachment_creation
:
true
,
check_local_attachment_deletion
:
true
,
...
...
@@ -3001,6 +3026,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
1
,
check_local_attachment_creation
:
true
,
check_local_attachment_deletion
:
true
,
...
...
@@ -3087,6 +3113,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
2
,
check_local_attachment_creation
:
true
,
check_local_attachment_deletion
:
true
,
...
...
@@ -3184,6 +3211,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
conflict_handling
:
3
,
check_local_attachment_creation
:
true
,
check_local_attachment_deletion
:
true
,
...
...
@@ -3454,6 +3482,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
check_local_attachment_creation
:
true
,
local_sub_storage
:
{
type
:
"
memory
"
...
...
@@ -3645,6 +3674,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
check_local_attachment_creation
:
true
,
parallel_operation_attachment_amount
:
2
,
local_sub_storage
:
{
...
...
@@ -3814,6 +3844,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
check_local_attachment_creation
:
true
,
parallel_operation_attachment_amount
:
4
,
local_sub_storage
:
{
...
...
@@ -3862,6 +3893,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
check_local_deletion
:
false
,
check_local_attachment_modification
:
true
,
check_local_attachment_creation
:
true
,
...
...
@@ -4040,6 +4072,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
check_remote_deletion
:
false
,
check_local_attachment_modification
:
true
,
check_local_attachment_creation
:
true
,
...
...
@@ -4214,6 +4247,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
check_local_attachment_modification
:
true
,
check_local_attachment_creation
:
true
,
check_local_attachment_deletion
:
true
,
...
...
@@ -4393,6 +4427,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
check_local_attachment_modification
:
true
,
check_local_attachment_creation
:
true
,
check_local_attachment_deletion
:
true
,
...
...
@@ -4568,6 +4603,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
check_local_deletion
:
false
,
check_local_attachment_modification
:
true
,
check_local_attachment_creation
:
true
,
...
...
@@ -4749,6 +4785,7 @@
this
.
jio
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
report_level
:
1000
,
check_remote_deletion
:
false
,
check_local_attachment_modification
:
true
,
check_local_attachment_creation
:
true
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment