File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -619,9 +619,9 @@ bool Chunk::splitIfShould(long dataWritten) const {
619619 }
620620}
621621
622- const ConnectionString& Chunk::_getShardConnectionString () const {
622+ std::string Chunk::_getShardConnectionString () const {
623623 const auto shard = grid.shardRegistry ()->getShard (getShardId ());
624- return shard->getConnString ();
624+ return shard->getConnString (). toString () ;
625625}
626626
627627long Chunk::getPhysicalSize () const {
Original file line number Diff line number Diff line change @@ -252,9 +252,9 @@ class Chunk {
252252
253253private:
254254 /* *
255- * Returns the connection string for the shard on which this chunk lives on .
255+ * Returns the connection string for the shard on which this chunk resides .
256256 */
257- const ConnectionString& _getShardConnectionString () const ;
257+ std::string _getShardConnectionString () const ;
258258
259259 // if min/max key is pos/neg infinity
260260 bool _minIsInf () const ;
You can’t perform that action at this time.
0 commit comments