Closed amass01 closed 3 years ago
Logs running against @lukebp's tlog PR:
2021-01-14 22:53:48.595 [INF] DCRT: Listen: :59152
2021-01-14 23:00:00.818 [INF] DCRT: /v2/timestamp/batch TimestampBatch 127.0.0.1:59562: accepted 20210114.210000 7d67813f9577a5cae44a57471c981ab1df49bcff96f5d1544676a9ec7365db49
2021-01-14 23:00:00.819 [INF] DCRT: /v2/timestamp/batch TimestampBatch 127.0.0.1:59562: accepted 20210114.210000 6bea5a57dee0c87d65b2b7ec99445a050dbd820de3f0c2b510febd338d3f832d
2021-01-14 23:00:00.819 [INF] DCRT: /v2/timestamp/batch TimestampBatch 127.0.0.1:59562: accepted 20210114.210000 8d0402eb5bf4d29336e7258093d853adb4231ffb0dc821c77a82f186ee6589f2
2021-01-14 23:00:02.649 [INF] DCRT: /v2/timestamp/batch TimestampBatch 127.0.0.1:59569: accepted 20210114.210000 279ba1edea45ecec623fb50cbca58e7b3f0a3858ab57368abec74e3d2dc56e04
2021-01-14 23:00:02.649 [INF] DCRT: /v2/timestamp/batch TimestampBatch 127.0.0.1:59569: accepted 20210114.210000 0ed585b9f02a447c40d29a5ada48fa836649bcd11e2df80a5b1a5928e1a5b04e
2021-01-14 23:00:02.649 [INF] DCRT: /v2/timestamp/batch TimestampBatch 127.0.0.1:59569: accepted 20210114.210000 cf2e7aeacbe8744f12d66329f56e4c5dcf9177ede73689ff96b90240f93aab6f
2021-01-14 23:00:02.649 [INF] DCRT: /v2/timestamp/batch TimestampBatch 127.0.0.1:59569: accepted 20210114.210000 d5cdb573f577a0f7e967161fbb616ee04027fd4f1888523cb45f34e121456e34
2021-01-14 23:00:02.649 [INF] DCRT: /v2/timestamp/batch TimestampBatch 127.0.0.1:59569: accepted 20210114.210000 dab9f4c21460e56a5075230f7a19c47c0020bddab870e80e96117d27d29a0fb9
2021-01-14 23:00:02.649 [INF] DCRT: /v2/timestamp/batch TimestampBatch 127.0.0.1:59569: accepted 20210114.210000 c98db29630b1e3dc9d01fc8342f60053ebff9ce6d1d1b83ef1f29981b13cf03b
2021-01-14 23:00:02.649 [INF] DCRT: /v2/timestamp/batch TimestampBatch 127.0.0.1:59569: accepted 20210114.210000 fcf44b6146ca70862711e685bae8a9c64cc100a2de9cc69923e58f2b980ae19b
2021-01-14 23:00:02.649 [INF] DCRT: /v2/timestamp/batch TimestampBatch 127.0.0.1:59569: accepted 20210114.210000 bbafa9fa2f95c3596abc2bb7dda1ceb23d26d12f84a8516e62bc4a1f5120dfd4
2021-01-14 23:00:10.257 [INF] FSBE: Flush timestamp: 20210114.200000 digests 5 merkle: 7708ab15ab89fce7f8544067e80fc190b9f7cfa69fd321dc332346ac12429b3a tx: a2f21f9f2194718d864b391087242e8ee2775b928bd1040bed892ce96fa02c4c
2021-01-14 23:00:10.373 [INF] FSBE: Flusher: directories 1 in 369.850563ms
v^[[A2021-01-14 23:01:00.824 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61722: Timestamps 0 Digests 3
2021-01-14 23:01:02.656 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:02:00.796 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61722: Timestamps 0 Digests 3
2021-01-14 23:02:02.628 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:03:00.795 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61722: Timestamps 0 Digests 3
2021-01-14 23:03:02.625 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:04:00.794 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61722: Timestamps 0 Digests 3
2021-01-14 23:04:02.625 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:05:00.794 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61722: Timestamps 0 Digests 3
2021-01-14 23:05:02.627 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:06:00.798 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61722: Timestamps 0 Digests 3
2021-01-14 23:06:02.629 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:07:00.798 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61722: Timestamps 0 Digests 3
2021-01-14 23:07:02.628 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:08:00.827 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:08:02.628 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:09:00.800 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:09:02.627 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:10:00.798 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:10:02.627 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:11:00.796 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:11:02.630 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:12:00.797 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:12:02.628 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:13:00.801 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:13:02.632 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:14:00.801 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:14:02.628 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:15:00.799 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:15:02.631 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:16:00.838 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:16:02.668 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
^[^[[B^[[B^[[A^[[A2021-01-14 23:17:00.842 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:17:02.671 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:18:00.845 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:18:02.672 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:19:00.845 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:19:02.677 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:20:00.845 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:20:02.677 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:21:00.845 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:21:02.677 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:22:00.846 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:22:02.680 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:23:00.852 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:23:02.680 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:24:00.849 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:24:02.682 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:25:00.849 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:25:02.688 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:26:00.854 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:26:02.679 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:27:00.850 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:27:02.684 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:28:00.851 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:28:02.684 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:29:00.861 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:29:02.688 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:30:00.859 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:30:02.685 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:31:00.794 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:31:02.624 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:32:00.794 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:32:02.618 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:33:00.790 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:33:02.620 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:34:00.793 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:34:02.623 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:35:00.791 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:35:02.623 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:36:00.792 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:36:02.624 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:37:00.791 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:37:02.624 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:38:00.791 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:38:02.620 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:39:00.791 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:39:02.620 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:40:00.791 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:40:02.624 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:41:00.791 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:41:02.625 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:42:00.793 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:42:02.624 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:43:00.792 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:43:02.624 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:44:00.791 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:44:02.623 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:45:00.793 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:45:02.627 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:46:00.861 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:46:02.695 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:47:00.862 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:47:02.695 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:48:00.863 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:48:02.698 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:49:00.865 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:49:02.698 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:50:00.867 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:50:02.699 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:51:00.866 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:51:02.703 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:52:00.870 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:52:02.697 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:53:00.870 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:53:02.703 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:54:00.872 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:54:02.699 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:55:00.874 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:55:02.701 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:56:00.875 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:56:02.702 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:57:00.877 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:60282: Timestamps 0 Digests 3
2021-01-14 23:57:02.703 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:58:00.906 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:52113: Timestamps 0 Digests 3
2021-01-14 23:58:02.707 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-14 23:59:00.877 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:52113: Timestamps 0 Digests 3
2021-01-14 23:59:02.710 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-15 00:00:00.878 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:52113: Timestamps 0 Digests 3
2021-01-15 00:00:02.709 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-15 00:00:10.305 [INF] FSBE: Flush timestamp: 20210114.210000 digests 11 merkle: b3811ad26dabf2e5243d698373f718a0f53af7a5dd21b80408690f6aee9ecebf tx: a73ed8e616ed3e69801353d121979aba2ac9b35f8b7671ca51bf28552f09878a
2021-01-15 00:00:10.449 [INF] FSBE: Flusher: directories 1 in 390.353082ms
2021-01-15 00:01:00.873 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:52113: Timestamps 0 Digests 3
2021-01-15 00:01:00.979 [DBG] FSBE: lazyFlush confirmations: 0
2021-01-15 00:01:01.074 [DBG] FSBE: lazyFlush confirmations: 0
2021-01-15 00:01:01.144 [DBG] FSBE: lazyFlush confirmations: 0
2021-01-15 00:01:02.704 [INF] DCRT: /v2/verify/batch VerifyBatch 127.0.0.1:61788: Timestamps 0 Digests 8
2021-01-15 00:01:02.783 [DBG] FSBE: lazyFlush confirmations: 0
2021-01-15 00:01:02.857 [DBG] FSBE: lazyFlush confirmations: 0
2021-01-15 00:01:02.931 [DBG] FSBE: lazyFlush confirmations: 0
2021-01-15 00:01:02.985 [DBG] FSBE: lazyFlush confirmations: 0
2021-01-15 00:01:03.062 [DBG] FSBE: lazyFlush confirmations: 0
2021-01-15 00:01:03.136 [DBG] FSBE: lazyFlush confirmations: 0
2021-01-15 00:01:03.210 [DBG] FSBE: lazyFlush confirmations: 0
2021-01-15 00:01:03.281 [DBG] FSBE: lazyFlush confirmations: 0
I have been testing this locally for a few weeks and have not encountered any issues.
tACK
This makes the Put command in filesystem an atomic operation to prevent deadlocks when having concurrent requests of timestamp & verify.
Additionally, it fixes couple of cases where db connection was kept alive on error.