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

Elegant creation of schema for Watch #32

Open
darashi opened this issue Nov 27, 2013 · 0 comments
Open

Elegant creation of schema for Watch #32

darashi opened this issue Nov 27, 2013 · 0 comments

Comments

@darashi
Copy link
Contributor

darashi commented Nov 27, 2013

This may be solved by creating a hook in Partition, @kou said.

      # XXX just workaround. This must be re-written.
      # When secondary and later processes opens the database,
      # creation processes of tables by the first process is
      # not finished yet. Then secondary and others tries to
      # create tables and raises errors. To avoid such a problem,
      # the creation processes of tables is disabled on workers.

https://github.com/droonga/fluent-plugin-droonga/blob/master/lib/droonga/plugin/handler/watch.rb#L30-L43

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

No branches or pull requests

1 participant