Code Monkey home page Code Monkey logo

go-frank's People

Contributors

kuking avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

go-frank's Issues

Race while creating a new part

while concurrently publishing(inserting) and replicating to a remote host, replicator output:

% ~/go-frank/frankr send r@persistent-stream host.local:1234
[...]
[0: R: 10779315164 (166.00MiB/s) 100.00% W: 10779315270 (166.00MiB/s)]
panic: failed to open a part file, fatal, err: open persistent-stream.00029: no such file or directory

goroutine 8 [running]:
github.com/kuking/go-frank/persistent.(*MmapStream).resolvePart(0xc000122280, 0x1, 0x29, 0x0)
	/home/ed/KUKINO/go-frank/persistent/mmap_stream.go:142 +0x625
github.com/kuking/go-frank/persistent.(*MmapStream).PullBySubId(0xc000122280, 0x1, 0x989680, 0x0, 0x64, 0x0, 0x0)
	/home/ed/KUKINO/go-frank/persistent/mmap_stream.go:211 +0x145
github.com/kuking/go-frank/transport.(*SyncLink).goFuncSend(0xc00007c2d0)
	/home/ed/KUKINO/go-frank/transport/synclink.go:169 +0x208
created by github.com/kuking/go-frank/transport.(*Replicator).ConnectTCP
	/home/ed/KUKINO/go-frank/transport/replicator.go:83 +0xf3

publisher output:

% ~/go-frank/franki pub_bench
panic: failed to open a part file, fatal, err: open persistent-stream.00029: no such file or directory

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.