Skip to content

order leakage #1173

Closed
Closed
@cipig

Description

MM2 from dev branch (which seems to fix the deadlock reported in #1172) leaks orders. Their number (as seen from seednodes) increase all the time till it reaches a point where seed nodes disconnect you. This happens on all my nodes, does not matter how many orders they initially had.

This is the real number of orders from all my nodes (when running from mm2.1 branch, so without the leak):

02dbd8c73e2e80e4f3cf88d2f04a9d2d0df4269496608b14a3e17556fdcb01e0c1 #### orders_uuids=1332
031bb83b58ec130e28e0a6d5d2acf2eb01b0d3f1670e021d47d31db8a858219da8 #### orders_uuids=2634
0315d9c51c657ab1be4ae9d3ab6e76a619d3bccfe830d5363fa168424c0d044732 #### orders_uuids=1423
03de96cb66dcfaceaa8b3d4993ce8914cd5fe84e3fd53cefdae45add8032792a12 #### orders_uuids=1096

When running from dev branch, the number of orders increases slowly but steadily over time. This is from the node that actually has orders_uuids=2634 after running for couple hours:

· 2021-12-20 09:06:12 +0000 [pubkey=031bb83b58ec130e28e0a6d5d2acf2eb01b0d3f1670e021d47d31db8a858219da8] history.commited_changes=5223 orders_uuids=2735
· 2021-12-20 09:11:12 +0000 [pubkey=031bb83b58ec130e28e0a6d5d2acf2eb01b0d3f1670e021d47d31db8a858219da8] history.commited_changes=5289 orders_uuids=2739
· 2021-12-20 09:16:12 +0000 [pubkey=031bb83b58ec130e28e0a6d5d2acf2eb01b0d3f1670e021d47d31db8a858219da8] history.commited_changes=5263 orders_uuids=2742
· 2021-12-20 09:21:12 +0000 [pubkey=031bb83b58ec130e28e0a6d5d2acf2eb01b0d3f1670e021d47d31db8a858219da8] history.commited_changes=3813 orders_uuids=2744
· 2021-12-20 09:26:12 +0000 [pubkey=031bb83b58ec130e28e0a6d5d2acf2eb01b0d3f1670e021d47d31db8a858219da8] history.commited_changes=2353 orders_uuids=2746
· 2021-12-20 09:31:12 +0000 [pubkey=031bb83b58ec130e28e0a6d5d2acf2eb01b0d3f1670e021d47d31db8a858219da8] history.commited_changes=4527 orders_uuids=2750
· 2021-12-20 09:36:12 +0000 [pubkey=031bb83b58ec130e28e0a6d5d2acf2eb01b0d3f1670e021d47d31db8a858219da8] history.commited_changes=2450 orders_uuids=2752
· 2021-12-20 09:41:12 +0000 [pubkey=031bb83b58ec130e28e0a6d5d2acf2eb01b0d3f1670e021d47d31db8a858219da8] history.commited_changes=1527 orders_uuids=2755
· 2021-12-20 09:46:12 +0000 [pubkey=031bb83b58ec130e28e0a6d5d2acf2eb01b0d3f1670e021d47d31db8a858219da8] history.commited_changes=3659 orders_uuids=2759
· 2021-12-20 09:51:12 +0000 [pubkey=031bb83b58ec130e28e0a6d5d2acf2eb01b0d3f1670e021d47d31db8a858219da8] history.commited_changes=1766 orders_uuids=2767
· 2021-12-20 09:56:12 +0000 [pubkey=031bb83b58ec130e28e0a6d5d2acf2eb01b0d3f1670e021d47d31db8a858219da8] history.commited_changes=3605 orders_uuids=2768
· 2021-12-20 10:01:12 +0000 [pubkey=031bb83b58ec130e28e0a6d5d2acf2eb01b0d3f1670e021d47d31db8a858219da8] history.commited_changes=2000 orders_uuids=2772
· 2021-12-20 10:06:12 +0000 [pubkey=031bb83b58ec130e28e0a6d5d2acf2eb01b0d3f1670e021d47d31db8a858219da8] history.commited_changes=3250 orders_uuids=2774
· 2021-12-20 10:11:12 +0000 [pubkey=031bb83b58ec130e28e0a6d5d2acf2eb01b0d3f1670e021d47d31db8a858219da8] history.commited_changes=4843 orders_uuids=2774
· 2021-12-20 10:16:12 +0000 [pubkey=031bb83b58ec130e28e0a6d5d2acf2eb01b0d3f1670e021d47d31db8a858219da8] history.commited_changes=5110 orders_uuids=2789
· 2021-12-20 10:21:12 +0000 [pubkey=031bb83b58ec130e28e0a6d5d2acf2eb01b0d3f1670e021d47d31db8a858219da8] history.commited_changes=5247 orders_uuids=2799
· 2021-12-20 10:26:12 +0000 [pubkey=031bb83b58ec130e28e0a6d5d2acf2eb01b0d3f1670e021d47d31db8a858219da8] history.commited_changes=5287 orders_uuids=2799
· 2021-12-20 10:31:12 +0000 [pubkey=031bb83b58ec130e28e0a6d5d2acf2eb01b0d3f1670e021d47d31db8a858219da8] history.commited_changes=5279 orders_uuids=2815
· 2021-12-20 10:36:12 +0000 [pubkey=031bb83b58ec130e28e0a6d5d2acf2eb01b0d3f1670e021d47d31db8a858219da8] history.commited_changes=5256 orders_uuids=2827
· 2021-12-20 10:41:12 +0000 [pubkey=031bb83b58ec130e28e0a6d5d2acf2eb01b0d3f1670e021d47d31db8a858219da8] history.commited_changes=2235 orders_uuids=2827
· 2021-12-20 10:46:12 +0000 [pubkey=031bb83b58ec130e28e0a6d5d2acf2eb01b0d3f1670e021d47d31db8a858219da8] history.commited_changes=3902 orders_uuids=2830
· 2021-12-20 10:51:12 +0000 [pubkey=031bb83b58ec130e28e0a6d5d2acf2eb01b0d3f1670e021d47d31db8a858219da8] history.commited_changes=2101 orders_uuids=2831
· 2021-12-20 10:56:12 +0000 [pubkey=031bb83b58ec130e28e0a6d5d2acf2eb01b0d3f1670e021d47d31db8a858219da8] history.commited_changes=3466 orders_uuids=2831
· 2021-12-20 11:01:12 +0000 [pubkey=031bb83b58ec130e28e0a6d5d2acf2eb01b0d3f1670e021d47d31db8a858219da8] history.commited_changes=4720 orders_uuids=2833
· 2021-12-20 11:06:12 +0000 [pubkey=031bb83b58ec130e28e0a6d5d2acf2eb01b0d3f1670e021d47d31db8a858219da8] history.commited_changes=1603 orders_uuids=2836
· 2021-12-20 11:11:12 +0000 [pubkey=031bb83b58ec130e28e0a6d5d2acf2eb01b0d3f1670e021d47d31db8a858219da8] history.commited_changes=3990 orders_uuids=2845
· 2021-12-20 11:16:12 +0000 [pubkey=031bb83b58ec130e28e0a6d5d2acf2eb01b0d3f1670e021d47d31db8a858219da8] history.commited_changes=4933 orders_uuids=2848
· 2021-12-20 11:21:12 +0000 [pubkey=031bb83b58ec130e28e0a6d5d2acf2eb01b0d3f1670e021d47d31db8a858219da8] history.commited_changes=5115 orders_uuids=2853

if this happens, i see orders double... i use setprice to set orders, which cancels previous orders from that pair, but this seems to not always happen like it should, so then i see 2 bids in the orderbook from that node instead of just one
strange is that both have the same "age": xxxxxxxx in the orderbook

i will run dev branch again for a while on one of the nodes and add the output from my_orders and the log file

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions