GithubHelp home page GithubHelp logo

Greenmask V0.1.13 SIGSEGV about greenmask HOT 6 CLOSED

TCY16 avatar TCY16 commented on August 25, 2024
Greenmask V0.1.13 SIGSEGV

from greenmask.

Comments (6)

wwoytenko avatar wwoytenko commented on August 25, 2024 1

Hi! Thank you for reporting!

github.com/greenmaskio/greenmask/internal/db/postgres/dumpers.(*BlobsDumper).Execute.func2.2()

Looks like the seg fault is in Large Object dumping. I will check this tomorrow. There is definitely a bug.

On a different note, I've also found that greenmask dump --data-only gives a schema collision error : "pg_dump: error: options -s/--schema-only and -a/--data-only cannot be used together"

Well, you're right. I will review this case tomorrow as well.

from greenmask.

wwoytenko avatar wwoytenko commented on August 25, 2024 1

I've created #103 PR, but I will review the logic. I think there might be high resource utilization without a worker pool pattern. I will keep you posted

from greenmask.

TCY16 avatar TCY16 commented on August 25, 2024 1

Thanks for the super quick turnaround! I'll post more issues if they come up 😄

from greenmask.

wwoytenko avatar wwoytenko commented on August 25, 2024

@TCY16

The large object dumper seg fault I hope will be fixed in #103

The fix is expected to be published as v0.1.14 on Thursday (09.05.2024)

Regarding this

On a different note, I've also found that greenmask dump --data-only gives a schema collision error : "pg_dump: error: options -s/--schema-only and -a/--data-only cannot be used together"

I've opened issue #104 and initialized a PR #105

from greenmask.

wwoytenko avatar wwoytenko commented on August 25, 2024

Regarding --data-only workaround right now

I recommend creating dump as usual without --data-only.

But if you need to restore only data you can call restore --data-only.

from greenmask.

wwoytenko avatar wwoytenko commented on August 25, 2024

Published in 0.1.14. Let me know if everything is ok

from greenmask.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.