Commit 52c3a91e authored by 余昆's avatar 余昆
Browse files

test_scheduler core dump


Former-commit-id: beb4ef47c3a9cc9557ee6d5a7bfcdbed4f827267
parent 11045046
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -5,6 +5,8 @@ Please mark all change in change log and use the ticket from JIRA.
# Milvus 0.5.1 (TODO)

## Bug
- \#104 - test_scheduler core dump

## Improvement
- \#64 - Improvement dump function in scheduler
- \#80 - Print version information into log during server start
+3 −0
Original line number Diff line number Diff line
@@ -119,6 +119,9 @@ class Resource : public Node, public std::enable_shared_from_this<Resource> {
    // TODO(wxyu): need double ?
    inline uint64_t
    TaskAvgCost() const {
        if (total_task_ == 0) {
            return 0;
        }
        return total_cost_ / total_task_;
    }