GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — API for resizing Env's mapsize · Issue #104 · lmdbjava/lmdbjava

API for resizing Env's mapsize #104

New issue
Copy link
New issue
Copy link
Closed
Closed
API for resizing Env's mapsize#104
Copy link
Labels
enhancementAdditional or new functionalityAdditional or new functionalityhelp wantedInvitation to the community to assist with the issueInvitation to the community to assist with the issue

Description

@bluegol
bluegol
opened on Aug 22, 2018
Issue body actions

According to lmdb's doc, it seems that Env's mapsize can be resized after open as long as there's no active write transaction. http://www.lmdb.tech/doc/group__mdb.html#gaa2506ec8dab3d969b0e609cd82e619e5 "It may be called at later times if no transactions are active in this process."

However lmdbjava doesn't seem to have this capability. Please consider adding an API for this.

Reacted by ams2990, Peter pan and altesse

Activity

  1. bp-alex commented on Dec 7, 2018

    @bp-alex
    bp-alex
    on Dec 7, 2018
    Member
    More actions

    This should be a fairly easy method to add. Would you like to submit a PR?

  2. bp-alex
    added
    enhancementAdditional or new functionalityAdditional or new functionality
    help wantedInvitation to the community to assist with the issueInvitation to the community to assist with the issue
    on Dec 9, 2018
  3. altesse
    added a commit that references this issue on Dec 11, 2018

    Add Env.setMapSize(final long mapSize) (fixes lmdbjava#104)

    This issue will close once commit a367407 is merged into the 'master' branch.
    a367407
  4. altesse commented on Dec 11, 2018

    @altesse
    altesse
    on Dec 11, 2018
    Contributor
    More actions

    If I may, most humbly, I will submit a pull request for this feature from my fork , since I need it too.

  5. bp-alex
    closed this as completedin a367407on Dec 16, 2018
  6. bp-alex
    added a commit that references this issue on Dec 16, 2018

    Merge pull request #112 from altesse/mdb_env_set_mapsize

    This issue will close once commit 7f4ce20 is merged into the 'master' branch.
    7f4ce20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAdditional or new functionalityAdditional or new functionalityhelp wantedInvitation to the community to assist with the issueInvitation to the community to assist with the issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.