We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
commit e015693c9575ed482c12e195195aaa2130e5b494 (HEAD -> master
当订单过滤器中配置的脚本出现错误时,venus-market日志并不会输出错误相关的信息,反而会把错误信息抛给下单的客户端
-----------venus-market-----------------log------------- 2023/03/17 06:01:27 /root/venus-market/models/mysql/storage_deal.go:316 record not found [0.986ms] [rows:0] SELECT * FROM `storage_deals` WHERE proposal_cid = 'bafyreigikwft3u6wywqxu3qamee4mds27fcuqn6cljxz2xjssn6gp24o34' LIMIT 1 ---------------market-client------------log---------------- 2023-03-17T06:01:27.717Z DEBUG swarm2 swarm/swarm.go:348 [12D3KooWMjsWJQmRSgRwA6sTSFrhtXr6u7aBdBzkrAs7KVyNxV6o] opening stream to peer [12D3KooWMswqgPyWaWtQfWHczqSW8XQNmW9jQZjEtwPbvNT6hfpx] 2023-03-17T06:01:27.775Z DEBUG storagemrkt storagemarket/types.go:197 adding log for stage <StorageDealFundsReserved> msg <unexpected deal status while waiting for data request: 11 (StorageDealFailing). Provider message: An error occurred: 'asdas' > 2023-03-17T06:01:27.776Z DEBUG storagemarket_impl impl/client.go:598 process storage client listeners {"name": "ClientEventUnexpectedDealState", "proposal cid": "bafyreigikwft3u6wywqxu3qamee4mds27fcuqn6cljxz2xjssn6gp24o34"} 2023-03-17T06:01:27.776Z INFO markets utils/loggers.go:16 storage client event {"name": "ClientEventUnexpectedDealState", "proposal CID": "bafyreigikwft3u6wywqxu3qamee4mds27fcuqn6cljxz2xjssn6gp24o34", "state": "StorageDealFailing", "message": "unexpected deal status while waiting for data request: 11 (StorageDealFailing). Provider message: An error occurred: 'asdas'\n"} 2023-03-17T06:01:27.776Z DEBUG storagemarket_impl impl/client.go:598 process storage client listeners {"name": "ClientEventUnexpectedDealState", "proposal cid": "bafyreigikwft3u6wywqxu3qamee4mds27fcuqn6cljxz2xjssn6gp24o34"} 2023-03-17T06:01:27.776Z ERROR storagemarket_impl clientstates/client_states.go:324 deal bafyreigikwft3u6wywqxu3qamee4mds27fcuqn6cljxz2xjssn6gp24o34 failed: unexpected deal status while waiting for data request: 11 (StorageDealFailing). Provider message: An error occurred: 'asdas'
import json import sys try: json_str = sys.stdin.read() data = json.loads(json_str) if data['ClientDealProposal']['Proposal']['PieceSize'] < 2048: print("") sys.exit(0) else: print("PieceSize is greater than or equal to 2048. Exiting with code 1.") sys.exit(1) except Exception as e: print("An error occurred: ", e) sys.exit(1)
The text was updated successfully, but these errors were encountered:
LinZexiao
Successfully merging a pull request may close this issue.
链服务模块 / Chain Service Components
订单服务模块 / Deal Service Components
算力服务模块 / Storage Power Service Components
版本 / Version
描述 / Describe the Bug
当订单过滤器中配置的脚本出现错误时,venus-market日志并不会输出错误相关的信息,反而会把错误信息抛给下单的客户端
日志 / Logging Information
重现步骤 / Repo Steps
python脚本
问题描述
The text was updated successfully, but these errors were encountered: