Uploaded image for project: 'Fabric'
  1. Fabric
  2. FAB-18248

peer does not generate snapshot

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Medium
    • Resolution: Invalid: Works as Expected
    • None
    • None
    • fabric-ledger
    • Hide
      1. deploy a network with 1 org, 1 peer, 1 orderer with levelDB
      2. create/join 1 channel and install/instantiate 1 chaincode
      3. submit many snapshot submitrequest
      4. execute transactions to generate snapshots
      5. the issue occurs after about 40 snapshot generation
      Show
      1. deploy a network with 1 org, 1 peer, 1 orderer with levelDB 2. create/join 1 channel and install/instantiate 1 chaincode 3. submit many snapshot submitrequest 4. execute transactions to generate snapshots 5. the issue occurs after about 40 snapshot generation

    Description

      peer Commit SHA: 2b27d51

      blocks 290000, 291000, 292000 are listed in the list pending:

      Successfully got pending snapshot requests: [274000 290000 291000 292000 293000 294000 295000 296000 297000 298000 299000 300000 310000 320000 330000 340000 350000 400000 600000 800000 1000000]

      The current block height is 292460

      (state_validation=5ms block_and_pvtdata_commit=18ms state_commit=8ms) commitHash=[ce9ddc312f6d9f3112a97b831d3ca13314d3906e4e5d5310fdb7354b801e7da9]

      [[34m2020-09-24 20:57:39.615 UTC [gossip.privdata] StoreBlock -> INFO fbc54[[0m [testorgschannel0] Received block [292458] from buffer

      [[34m2020-09-24 20:57:39.626 UTC [committer.txvalidator] Validate -> INFO fbc55[[0m [testorgschannel0] Validated block [292458] in 11ms

      [[34m2020-09-24 20:57:39.670 UTC [kvledger] commit -> INFO fbc56[[0m [testorgschannel0] Committed block [292458] with 100 transaction(s) in 41ms (state_validation=6ms block_and_pvtdata_commit=18ms state_commit=8ms) commitHash=[bbed7224caa46386815190c3c59efba66a50d730b2dd5dbebe93c910cbd3fc13]

      [[34m2020-09-24 20:57:41.625 UTC [gossip.privdata] StoreBlock -> INFO fbc57[[0m [testorgschannel0] Received block [292459] from buffer

      [[34m2020-09-24 20:57:41.634 UTC [committer.txvalidator] Validate -> INFO fbc58[[0m [testorgschannel0] Validated block [292459] in 9ms

      [[34m2020-09-24 20:57:41.677 UTC [kvledger] commit -> INFO fbc59[[0m [testorgschannel0] Committed block [292459] with 71 transaction(s) in 40ms (state_validation=5ms block_and_pvtdata_commit=17ms state_commit=8ms) commitHash=[d6c805d3ab33e82485073363d5d848e6a35915d5425b387cb21a6eda6712fb72]

       

      But peer does NOT generate the above 3 snapshots and list them as pending:

      /var/hyperledger/production/ledgersData/snapshots/completed/testorgschannel0 # ls

      200000  228000  241000  244000  247000  250000  253000  256000  259000  262000  265000  268000  274000  277000  280000

      226000  229000  242000  245000  248000  251000  254000  257000  260000  263000  266000  269000  275000  278000

      227000  240000  243000  246000  249000  252000  255000  258000  261000  264000  267000  270000  276000  279000

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            dongming Dongming Hwang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: