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

Add delete_device support #32

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Commits on Oct 29, 2013

  1. Configuration menu
    Copy the full SHA
    0e81812 View commit details
    Browse the repository at this point in the history
  2. MogileFS::Store can delete device from database

    with correct devid and hostid
    shelling committed Oct 29, 2013
    Configuration menu
    Copy the full SHA
    1f2d264 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2013

  1. Configuration menu
    Copy the full SHA
    21728db View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b1d1df2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2531fda View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0155a1c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2433035 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4fe390d View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2013

  1. delete_device() keeps primary key of device to prevent reuse.

    just set it hostid = 0 to make it belong to no host.
    get_all_devices() returns devices which hostid > 0
    to avoid interactions with deleted devices.
    shelling committed Oct 31, 2013
    Configuration menu
    Copy the full SHA
    424cf7b View commit details
    Browse the repository at this point in the history