Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-13898

Dynamic, date based, tag (zone) ranges

    • Cluster Scalability

      Method to create dynamic, date based, tag ranges for shard tags. E.g. Within the past 7 days => "recent", greater than 7 days => "archive".

      Currently, this can be done with a cron job to continually adjust tag ranges, however, this is only becoming more popular and the cron job option adds another level of complexity to deployments.

      e.g. all recent photo albums are on "recent" tagged shards (where the ratio of data size to RAM is much lower or the drive is SSD)

      sh.addTagRange("photos.albums", 
      { "date_uploaded" : { $currentDate : true }  }, 
      { "date_uploaded" : { $currentDate : -7 }  }, 
      "recent")
      

            Assignee:
            backlog-server-cluster-scalability [DO NOT USE] Backlog - Cluster Scalability
            Reporter:
            jason.zucchetto Jason Zucchetto
            Votes:
            9 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated: