Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-7949

Change local store cache and bucket directories to be relative to WT_HOME

      In Python tests w/ tiered storage, we'll configure bucket directory to be ./bucket (and the current home directory happens to be the database directory).  After running, we want to look at the contents of the directory, and we do:

      $ cd build_posix
      $ ./wt -h WT_TEST/test_tiered* list 

        But we get an error that it can't open ./bucket - it can't because it's trying to open build_posix/bucket.  The workaround of course is to run the wt command in the same directory as the original test ran.  Sensible, but inconvenient.  Better to interpret a relative directory used for bucket (or cache) dir as relative to the database home direcotry.

       

            Assignee:
            donald.anderson@mongodb.com Donald Anderson
            Reporter:
            donald.anderson@mongodb.com Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: