Skip to content
New issue

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

path index: dbindex: Fix sector_location schema #11472

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

magik6k
Copy link
Contributor

@magik6k magik6k commented Dec 1, 2023

Related Issues

Proposed Changes

Additional Info

Checklist

Before you mark the PR ready for review, please make sure that:

  • Commits have a clear commit message.
  • PR title is in the form of of <PR type>: <area>: <change being made>
    • example: fix: mempool: Introduce a cache for valid signatures
    • PR type: fix, feat, build, chore, ci, docs, perf, refactor, revert, style, test
    • area, e.g. api, chain, state, market, mempool, multisig, networking, paych, proving, sealing, wallet, deps
  • If the PR affects users (e.g., new feature, bug fix, system requirements change), update the CHANGELOG.md and add details to the UNRELEASED section.
  • New features have usage guidelines and / or documentation updates in
  • Tests exist for new functionality or change in behavior
  • CI is green

@magik6k magik6k requested a review from a team as a code owner December 1, 2023 16:21
@magik6k magik6k requested review from Stebalien and mb1896 and removed request for a team December 1, 2023 16:21
@rjan90
Copy link
Contributor

rjan90 commented Dec 1, 2023

Can confirm that this fixed the issues that I saw when running the Lotus-Miner with EnableSectorIndexDB = true + YugabyteDB and Hosts = ["127.0.0.1"].

Running a WindowPoSt now works backed by the SectorIndexDB with YugaByteDB:

lotus-miner proving compute window-post 0
Took 1.731154244s
[
  {
    "Deadline": 0,
    "Partitions": [
      {
        "Index": 0,
        "Skipped": []
      }
    ],
    "Proofs": [
      {
        "PoStProof": 12,
        "ProofBytes": "l+yIdK/cTayvVAPFHKUQiGpkFe1v7hDfiY2hhP0JPI1T8QBf89S5EE2/+M9OSuGapHtsIvXN3YFI49dorzjgne/eHOGbl2DUmlNhgvMFO5quR0gM6TkhVXh2teBdJRcMExMroRxW2frLl5227zcJezN5IiWD+43PkSmaH8R+dZfTwYAZOdjiaSAR22yNfrcFl23GFO3XYrKpiQ9FnGG1TMchNDxO33ME9rcGfgTLWUFUjYD6xWaSE0rK9JGVWVL6"
      }
    ],
    "ChainCommitEpoch": 0,
    "ChainCommitRand": null
  }
]

@snadrus snadrus merged commit 3e176b9 into feat/sturdypost Dec 1, 2023
1 check failed
@snadrus snadrus deleted the fix/dbindex-readrefs branch December 1, 2023 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants