Henry Oswald
|
ef69729dfd
change archive and unarchive to post's
|
vor 11 Jahren |
Henry Oswald
|
6052bf6a7e
change test to 19 not 20 as a stub in mongo is left behind
|
vor 11 Jahren |
James Allen
|
2a03591030
Stub out noisy/slow logger-sharelatex and mongojs modules in tests
|
vor 11 Jahren |
James Allen
|
23dfe68cb8
Don't error when rewinding and insert op which is beyond the length of the document.
|
vor 11 Jahren |
Brian Gough
|
92e0b0f04c
add logging to each stage of archiving
|
vor 11 Jahren |
Brian Gough
|
e683b0275a
bug fix for clear archive in progress flag
|
vor 11 Jahren |
Brian Gough
|
692e8c657c
Revert to the default lock timeout now we have write barriers
|
vor 11 Jahren |
Brian Gough
|
2ab1778dd9
move default value of lastVersion into function body
|
vor 11 Jahren |
Brian Gough
|
bdf1d267f0
fix tests
|
vor 11 Jahren |
Brian Gough
|
dc0044020f
only archive entries older than the current update
|
vor 11 Jahren |
Brian Gough
|
696a866b67
pause the stream of ops, not the download
|
vor 11 Jahren |
Brian Gough
|
847a553344
prevent double archiving by checking if any inS3 field is already present
|
vor 11 Jahren |
Brian Gough
|
e49f260507
allow rollback/locking by setting inS3:false when starting the archive process
|
vor 11 Jahren |
Brian Gough
|
551e8334cf
compressedUpdates are now never inserted with inS3
|
vor 11 Jahren |
Brian Gough
|
d6b827426c
support forcing new compressed update in popLastCompressedUpdate
|
vor 11 Jahren |
Brian Gough
|
dc35ef5cda
fix tests for archiving
|
vor 11 Jahren |
Brian Gough
|
a10dc4f898
Merge pull request #6 from heukirne/s3-archive
|
vor 11 Jahren |
Brian Gough
|
0e627c92d8
avoid clobbering global _ in loop
|
vor 11 Jahren |
Henrique Dias
|
aa66c5ee8c
improve size function
|
vor 11 Jahren |
Henrique Dias
|
3f712c452a
add size bulk limit
|
vor 11 Jahren |
Henrique Dias
|
01cbfd5338
fix minor issues in acceptance test
|
vor 11 Jahren |
Henrique Dias
|
a4575f178d
fix unit test
|
vor 11 Jahren |
Brian Gough
|
12c5098b48
fix lock in test
|
vor 11 Jahren |
Brian Gough
|
7af5050370
add lock to unarchive doc
|
vor 11 Jahren |
Brian Gough
|
18f06a3daf
increase lock timeouts for archiving
|
vor 11 Jahren |
Brian Gough
|
b4ffa7d57e
share the document lock between archiving and packing
|
vor 11 Jahren |
Brian Gough
|
9d39012b49
add error handler to each stage of download pipeline
|
vor 11 Jahren |
Brian Gough
|
d9085a5e5e
add error handler to each stage of upload pipeline
|
vor 11 Jahren |
Brian Gough
|
1c1b1d9595
log the case where there are no entries in the document history
|
vor 11 Jahren |
Brian Gough
|
82d0f4fce8
make unarchive more responsive by downloading documents in parallel
|
vor 11 Jahren |