storj/storagenode/orders
Moby von Briesen 8287e3a32d storagenode/orders/store.go: combine writeLimit/writeOrder operations
Combine store.writeLimit and store.writeOrder into
store.writeLimitAndOrder, which only requires a single call to
file.Write(). This simplifies code, but it also reduces the likelihood
of multiple calls to Write() increasing the likelihood of file
corruption.

Also combine the corresponding readLimit/readOrder functions for
consistency.

Change-Id: I62ed406fa2c02708465a678d18293f510f666440
2020-09-22 17:53:12 +00:00
..
db_test.go storagenode: live tracking of order window usage 2020-08-19 19:42:33 +00:00
service_test.go satellite: simplify tests 2020-08-28 22:28:04 +00:00
service.go storagenode/orders: add missing mon.Task parameter 2020-09-06 00:05:53 +00:00
store_test.go storagenode/orders/store.go: Do not return error from ListUnsentBySatellite when order files are corrupted. 2020-09-10 23:36:05 +00:00
store.go storagenode/orders/store.go: combine writeLimit/writeOrder operations 2020-09-22 17:53:12 +00:00