Amar Tumballi
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee
  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # Release notes for Gluster 4.0.0 ** DRAFT DRAFT ! DRAFT !!!** **Header for the release - TBD** The most notable features and changes are documented on this page. A full list of bugs that have been addressed is included further below. - [Major changes and features](#major-changes-and-features) - [Major issues](#major-issues) - [Bugs addressed in the release](#bugs-addressed) Further, as 3.13 is a short term maintenance release, features included in that release are available with 4.0.0 as well, and could be of interest to users upgrading to 4.0.0 from older than 3.13 releases. The 3.13 [release notes](http://docs.gluster.org/en/latest/release-notes/) captures the list of features that were introduced with 3.13. **NOTE:** As 3.13 was a short term maintenance release, it will reach end of life (EOL) with the release of 4.0.0. ([reference](https://www.gluster.org/release-schedule/)) ## Major changes and features Features are categorized into the following sections, - [Management](#management) - [Monitoring](#monitoring) - [Performance](#performance) - [Geo-replication](#geo-replication) - [Standalone](#standalone) - [Developer related](#developer-related) ### Management #### 1. GlusterD2 **Notes for users:** - Need GD2 team to fill in enough links and information here covering, - What it is - Install and configuration steps - Future plans (what happens in 4.1.0 and further) **Limitations:** **Known Issues:** ### Monitoring The lack of live monitoring support on top of GlusterFS till date was a limiting factor for many users (and in many cases for developers too). Statedump did some work of helping during debugging, but was bit heavy for monitoring live. The existence of `debug/io-stats` translator was not known to many and `gluster volume profile` was not recommended as it took a hit on performance. With this release, glusterfs's core infrastructure itself gets some mechanisms to provide internal information. There are few Github Issues which talk about the feature in detail: #### 1. More metrics on fops at every translate layer - https://github.com/gluster/glusterfs/issues/137 - Now, frame latency at every translators in stack can be measured, and is enabled by default. This helps to understand the usage pattern and also to debug any performance issues faster. **Limitations:** - Gluster Engineering doesn't recommend disabling the feature, and in 4.0 version there is no way to turn this off. - By 4.1 version, there would be a CLI option to disable the feature (for the advanced users) #### 2. Monitoring support - https://github.com/gluster/glusterfs/issues/168 - Currently, only project which consumes the metrics and provides basic monitoring is https://github.com/amarts/glustermetrics, which provides a good idea on how to utilize the metrics dumped from the process. - Users can send SIGUSR2 signal to the process to dump the metrics, in `/var/run/gluster/metrics/` directory. - NOTE: this is actually, 'WORKDIR/metrics' **Limitations:** - Currently only Gluster's Stack and Memory management systems are dumping the metrics - For other translators and other core components, framework to provide more metrics already exists, but code is not yet complete. **Known Issues:** - As discussed in Mailing list ([here](http://lists.gluster.org/pipermail/gluster-devel/2017-August/053426.html) and [here](http://lists.gluster.org/pipermail/gluster-devel/2017-September/053593.html)), there are better ways than sending signal to dump metrics. But that is not yet complete. Sending signal was choosen as an easier/simpler way to demonstrate the feature. <Do we need any screenshots of how the latency graph looks like? ### Performance #### 1. EC: Make metadata [F]STAT/[F]GETXATTR operations faster **Notes for users:** - https://github.com/gluster/glusterfs/issues/368 - Auto enabled, no options or documentation required - Release notes: - Can be handled by the release team **Limitations:** **Known Issues:** #### 2. To make md-cache capable to serve nameless lookup **Notes for users:** - https://github.com/gluster/glusterfs/issues/232 - Release notes: - Need to have some detail on what workloads will stand to gain by this change **Limitations:** **Known Issues:** #### 3. md-cache: Allow runtime addition of xattrs to the list of xattrs that md-cache caches **Notes for users:** - https://github.com/gluster/glusterfs/issues/297 - Needs user documentation for option performance.xattr-cache-list - Release notes: - Need documentation of the option, and also some details of when to use this feature - Maybe better if this appeared in the documentation and we could point to the same **Limitations:** **Known Issues:** #### 4. Cache last stripe of an EC volume while write is going on **Notes for users:** - https://github.com/gluster/glusterfs/issues/256 - Release notes: - Needs option documentation and also use-case details, as to when to enable this **Limitations:** **Known Issues:** #### 5. tie-breaker logic for blocking inodelks/entrylk in SHD **Notes for users:** - https://github.com/gluster/glusterfs/issues/354 - Release notes: - Internal feature to enable faster(?) self-heal, mention it as such **Limitations:** **Known Issues:** ### Geo-replication #### 1. JSON output for Geo-rep status and config for Glusterd2 integration **Notes for users:** - https://github.com/gluster/glusterfs/issues/361 - Added option --json to the gsyncd.py script - Are end users going to use the status command here? - Documentation update? - Release notes: - If there is no end user impact, no specific notes are needed for the same **Limitations:** **Known Issues:** #### 2. Enhance Geo-replication to use Volinfo from Config file **Notes for users:** - https://github.com/gluster/glusterfs/issues/396 - Documentation needs to be updated with the changed conf file section - Release notes: - Need documentation of explanation of the process in the notes, and also when to use the same **Limitations:** **Known Issues:** #### 3. Geo-replication: Improve gverify.sh logs **Notes for users:** - https://github.com/gluster/glusterfs/issues/395 - Release notes: - Needs documentation around new log file locations and possibly strings to check for mount failures etc. **Limitations:** **Known Issues:** #### 4. Geo-rep: Cleanup stale (unusable) XSYNC changelogs. **Notes for users:** - https://github.com/gluster/glusterfs/issues/376 - Release notes: - A note on change in behavior maybe needed **Limitations:** **Known Issues:** #### 5. Improve gsyncd configuration and arguments handling **Notes for users:** - https://github.com/gluster/glusterfs/issues/73 - Release notes: - Needs user facing documentation for newer options and such - There seems to be code improvement as well in the patches, so that may not be needed in the release notes **Limitations:** **Known Issues:** ### Standalone #### 1. Ability to force permissions while creating files/directories on a volume **Notes for users:** - https://github.com/gluster/glusterfs/issues/301 - Adds options, - "create-mask" and "create-directory-mask" - "force-create-mode" and "force-create-directory" - End user documentation is required - Release notes: - Need a summary of what the option would enable and how to set the same - If relevant user documentation is added, we maybe able to point to the same as well **Limitations:** **Known Issues:** #### 2. Replace MD5 usage to enable FIPS support **Notes for users:** - https://github.com/gluster/glusterfs/issues/230 - Need a lot of context on options and versions before which this feature can be used - Release notes: - Need help from authors to complete **Limitations:** **Known Issues:** #### 3. Dentry fop serializer xlator on brick stack **Notes for users:** - https://github.com/gluster/glusterfs/issues/397 - Release notes: - Option can be turned on by `gluster volume set $VOLNAME features.sdfs enable` - This feature makes sense when there are lot of renames and directory/file creates and delete operations on the mountpoints. **Limitations:** - Considering the feature takes lock for given directory operations, there may be a minor hit in performance compared to disabled config. - It is still recommended to enable this feature in those use-cases than looking for performance, as it helps resolve many issues which otherwise can't be solved. **Known Issues:** - Performance hit with this patch is not yet measured. #### 4. Add option to disable nftw() based deletes when purging the landfill directory **Notes for users:** - https://github.com/gluster/glusterfs/issues/371 - Release notes: - Note that the option to enable this feature is called `disable-landfill-purge`, and should be enabled in `storage/posix` translator in volume file. - By default the value of this is `off`. **Limitations:** - With the current version of glusterd and GD2, this feature can't be enabled using CLI. - If this option is enabled, then there will be more space consumed in backend as self-heal wouldn't delete any directories. **Known Issues:** - Currently to enable this feature, one should make code change, and re-compile. #### 5. Add option in POSIX to limit hardlinks per inode **Notes for users:** - https://github.com/gluster/glusterfs/issues/370 - Release notes: - Use github description **Limitations:** **Known Issues:** #### 6. Enhancements for directory listing in readdirp **Notes for users:** - https://github.com/gluster/glusterfs/issues/239 - Potentially has some behavioral change in the way rebalance works, needs some documentation efforts there - Release notes: - Note the changes in rebalance behavior, any performance gains? **Limitations:** **Known Issues:** ### Developer related #### 1. xlators should not provide init(), fini() and others directly, but have class_methods **Notes for developers:** - https://github.com/gluster/glusterfs/issues/164 - Before this release, there was a hard requirement on few of the methods being present in an xlator even if they are doing nothing. - Also, when a translator's .so file needed to be `dlopen()`, many symbols were read from it. - With the patch https://review.gluster.org/18876, expectation is one just needs to export 'xlator_api' structure with all the init()/fini() etc methods initialized. - Release notes: - There is no hard stop on supporting old symbols yet, but advise is to move to new symbols. #### 2. Framework for distributed testing **Notes for developers:** - https://github.com/gluster/glusterfs/issues/374 - Developer README already present - Release notes: - Can be handled by the release team #### 3. New API for acquiring mandatory locks **Notes for developers:** - https://github.com/gluster/glusterfs/issues/393 - Code comment for API exists, and release notes can point to that - Release notes: - Can be handled by the release team #### 4. New on-wire protocol (XDR) needed to support iattx and cleaner dictionary structure **Notes for developers:** - https://github.com/gluster/glusterfs/issues/384 - XDR definitions works good only when both client and server talk with same XDR. - With the extention of gluster's iatt structure there was a need to enhance the responses from server to client, so we have all these extra information. - By bringing another version to RPC programs, the new XDR definitions are now in place. - This uses more standard XDR for dictionary encoding and decoding along with extra iatt information. More on this is discussed on github [issue #203](https://github.com/gluster/glusterfs/issues/203) - Release notes: - No user impacting changes here. #### 5. Leases support on GlusterFS **Notes for developers:** - https://github.com/gluster/glusterfs/issues/350 - Developer documentation is available in the header file - Release notes: - Can be handled by the release team #### 6. Translator to handle 'global' options **Notes for developers:** - https://github.com/gluster/glusterfs/issues/303 - GlusterFS process has around 50 command line arguments to itself. While many of the options are truely initial setting, many others can change its value in volume lifetime. - Currently there are no way to change the setting other than restarting the process for many of these options. - The volume file structure and the translator framework can handle the case of setting and managing the options which are process specific, thus allowing us to change these options during run-time. - This feature is much desirable for options of 'fuse' translator which, without this feature needs a remount to enable/disable. - If you are a developer and want to provide a new command line option, consider adding it in globals.c too, and handle the option. A sample is provided at https://review.gluster.org/18316 - Release notes: - No user impacting changes yet, as the infra is not consumed by GD2 yet. #### 7. Information on RPC programs **Notes for developers:** - https://github.com/gluster/glusterfs/issues/140 - Release notes: - https://github.com/gluster/glusterfs/blob/master/doc/developer-guide/rpc-for-glusterfs.new-versions.md ## Major issues **TBD** ## Bugs addressed Bugs addressed since release-3.13.0 are listed below. **TBD**

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully